T. P. Traitement du Signal Maîtrise E.E.A. - LASC
T. P. Traitement du Signal Maîtrise E.E.A. - LASC
T. P. Traitement du Signal Maîtrise E.E.A. - LASC
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6 SPTool: A <strong>Signal</strong> Processing GUI Suite<br />
You can change the filter representation from the default transfer function to<br />
another form by using the tf2ss or tf2zp functions.<br />
The Fs Field: Accessing Filter Sample Frequency<br />
The Fs field contains the sampling frequency of the filter in hertz.<br />
The specs Field: Accessing other Filter Parameters<br />
The specs field is a structure containing parameters that you specified for the<br />
filter design. The first field, specs.currentMo<strong>du</strong>le, contains a string<br />
representing the most recent design method selected from the Filter Designer’s<br />
Algorithm list before you exported the filter. The possible contents of the<br />
currentMo<strong>du</strong>le field and the corresponding design methods are shown below.<br />
Contents of the currentMo<strong>du</strong>le field<br />
fdbutter<br />
fdcheby1<br />
fdcheby2<br />
fdellip<br />
fdfirls<br />
fdkaiser<br />
fdremez<br />
Design Method<br />
Butterworth IIR<br />
Chebyshev Type I IIR<br />
Chebyshev Type II IIR<br />
Elliptic IIR<br />
Least Squares FIR<br />
Kaiser Window FIR<br />
Equiripple FIR<br />
Following the specs.currentMo<strong>du</strong>le field, there may be up to seven additional<br />
fields, with labels such as specs.fdremez, specs.fdfirls, etc. The design<br />
specifications for the most recently exported filter are contained in the field<br />
whose label matches the currentMo<strong>du</strong>le string. For example, if the specs<br />
structure is<br />
filt1.specs<br />
ans<br />
currentMo<strong>du</strong>le: 'fdremez'<br />
fdremez: [1x1 struct]<br />
6-36