setspecs
Specifications for filter specification object
Syntax
setspecs(D,specvalue1,specvalue2,...)
setspecs(D,Specification,specvalue1,specvalue2,...)
setspecs(...Fs)
setspecs(...,MAGUNITS)
Description
setspecs(D,specvalue1,specvalue2,...)
sets
the specifications in filter specification object, D
,
in the same order they appear in the Specification
property.
setspecs(D,Specification,specvalue1,specvalue2,...)
changes
the specifications for an existing filter specification object and
sets values for the new Specification
property.
setspecs(...Fs)
specifies
the sampling frequency, Fs
, in Hz. The sampling
frequency must be a scalar trailing all other specifications. Entering
a sampling frequency causes all other frequency specifications to
be in Hz.
setspecs(...,MAGUNITS)
specifies the units for any magnitude specifications. MAGUNITS
can
be one of the following: 'linear'
, 'dB'
,
or 'squared'
. The default is 'dB'
.
The magnitude specifications are always converted and stored in dB
regardless of how the units are specified.
Use SET(D,'SPECIFICATION')
to get the list
of all available specification types for the filter specification
object, D
.
Examples
Version History
Introduced in R2011b
See Also
design
| designmethods
| designopts
| fdesign