imat_fn/build_ctrace


Purpose

Return an imat_ctrace of all reference or response coordinates in the supplied imat_fn.

Syntax

t=build_ctrace(f,'ref')
t=build_ctrace(f,'res')

Description

Given the supplied imat_fn, f, BUILD_CTRACE will return an imat_ctrace of all of the reference or response coordinates. Passing in 'ref' as the second argument will return the reference coordinates, and passing in 'res' will return the response coordinates.

Examples

>> f=imat_fn(4);
>> f.responsenode=1:4

f =
4x1 IMAT Function with the following attributes:
Record Name                 FunctionType     AbscissaSpacing  NumberElements
--------------------------- ---------------- ---------------- ----------------
1_(1X+,1X+)                 Time Response    Even             0
2_(1X+,2X+)                 Time Response    Even             0
3_(1X+,3X+)                 Time Response    Even             0
4_(1X+,4X+)                 Time Response    Even             0

>> t=build_ctrace(f,'res')

t =
    '1X+'
    '2X+'
    '3X+'
    '4X+'