| Prev | Next | freqaxis |
| Syntax |
y = freqaxis(df,N) |
| Include: |
include spt\freqaxis.oms |
| See Also | timeaxis |
ARGUMENTS:
INPUTS:
df = SCALAR, Represents the interval between
successive elements of returned vector.
N = SCALAR, any numerical type, coerced to INTEGER
before processing. Number of elements in returned
vector.
RETURN: COLUMN VECTOR. N-point linear frequency array, starting at 0(zero), same type as input.
Creates a column vector of N elements, starting at 0(zero)
and linearly progressing in steps of 'df'. Return type is
same as that of 'df'. N must be >0 or 'novalue' is returned.
Useful for creating frequency axis vectors, or vectors used
in procedures.
N = 11;
df = 30d0;
f = freqaxis(df,N);
f
Yields:
{
0.00
30.00
60.00
90.00
120.00
150.00
180.00
210.00
240.00
270.00
300.00
}