After you create a System object™, you use various object
methods to process data or obtain information from or about the object.
The syntax for using methods is <method>(<system
object name>)
, plus possible extra input arguments. For
example, for txfourier = dsp.FFT
, where txfourier
is
a name you assign, you call the reset
method using reset(txfourier)
.
For more information about methods, see the descriptions in Common Methods.
To run a System object and perform the operation defined
by its algorithm, you call the object as if it were a function. For
example, to create an FFT object that uses the dsp.FFT
System object,
specifies a length of 1024, and names it dft
, use
dft = dsp.FFT;
x
,
usedft(x);
asysobj()
.When you run a System object, it also performs other important tasks related to data processing, such as initialization and handling object states.
Note:
An alternative way to run a System object is to use the |
All System objects support the following methods, each of which is linked from each object's reference page. In cases where a method is not applicable to a particular object, calling that method has no effect on the object.