Signal Processing Toolbox Previous page   Next Page
dspopts

Spectral estimation parameter information

Syntax

Description

Hopts = dspopts.optsobj returns a DSP options object Hopts of type optsobj. This DSP options object contains optional parameter information for the specified type of optsobj.

You create options objects via methods on other objects. For example,

returns a spectrum object Hs options object. You can change the values of the Hopts object and then use this modified options object as an input to the psd method of a spectrum object Hs:

Options Objects

An options object (optsobj) for dspopts contain optional parameter values for the particular optsobj. Available optsobjs for dspopts are as follows:

Modifying a DSPOPTS Object

To set specific properties, use

or use the dot method

where 'property1', 'property2', and property are the specific property names.

To view the options for a property use set without specifying a value

Note that you must use single quotation marks around the property name if you are not using the dot method.

Another way to change an object's properties is by using the inspect command, which opens the Property Inspector window where you can edit any property, except dynamic properties.

Examples

Define a fourth order auto-regressive model and view its power spectral density using the Burg algorithm. Use dspopts to specify the FFT length and sampling frequency.

See Also

spectrum, spectrum.burg, spectrum.cov, spectrum.eigenvector, spectrum.mcov, spectrum.mtm, spectrum.music, spectrum.periodogram, spectrum.welch, spectrum.yulear


Previous page  dspfwiz ellip Next page

© 1994-2005 The MathWorks, Inc.