Products & Services Solutions Academia Support User Community Company

Learn more about Filter Design Toolbox   

noisepsdopts - Options for running filter output noise PSD

Syntax

opts = noisepsdopts(hd)

Description

opts = noisepsdopts(hd) uses the current settings in the filter hd to create an options object opts that contains specified options for computing the output noise PSD for a filter hd. You can pass opts to the scale method as an input argument to apply scaling settings to a second-order filter.

Within opts, the noisepsd options object returned by noisepsdopts, you can set the following properties:

Property Name

Default Value

Description and Valid Entries

Nfft

512

Specifies the number of FFT points to use to calculate the PSD.

NormalizedFrequency

true

Determines whether to use normalized frequency. Enter one of the logical true or false. Note that you do not use single quotations around this property value because it is a logical value, not a string.

Fs

normalized

Specifies the sampling frequency to use when you set NormalizedFrequency to false. Any integer value greater than 1 works. Enter the value in Hz.

SpectrumType

onesided

Tells noisepsd whether to generate a one-sided PSD or two-sided. Options are onesided or twosided. If you choose a two-sided computation, you can also choose centerdc = true. Otherwise, centerdc must be false.

  • onesided converts the spectrum to a spectrum calculated over half the Nyquist interval. All properties affected by the new frequency range are adjusted automatically.

  • twosided converts the spectrum to a spectrum calculated over the whole Nyquist interval. All properties affected by the new frequency range are adjusted automatically.

CenterDC

false

Shifts the zero-frequency component to the center of a two-sided spectrum.

  • When you set SpectrumType to onesided, it is changed to twosided and the data is converted to a two-sided spectrum.

  • Setting CenterDC to false shifts the data and the frequency values in the object so that DC is in the left edge of the spectrum. This operation does not effect the SpectrumType property setting.

See Also

noisepsd

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS