18.01.2015 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Accessing Filter Parameters<br />

the filter specifications are contained in the fdremez field, which is itself a data<br />

structure.<br />

The specifications include the parameter values from the Specifications<br />

region of the Filter Designer, such as band edges and filter order. For example,<br />

the filter above has the following specifications stored in<br />

filt1.specs.fdremez:<br />

filt1.specs.fdremez<br />

ans =<br />

setOrderFlag: 0<br />

type: 3<br />

f: [0 0.2000 0.3000 0.5000 0.6000 1]<br />

m: [6x1 double]<br />

Rp: 0.0100<br />

Rs: 75<br />

wt: [3.2371 1 3.2371]<br />

order: 78<br />

Because certain filter parameters are unique to a particular design, this<br />

structure has a different set of fields for each filter design.<br />

The table below describes the possible fields associated with the filter design<br />

specification field (the specs field) that can appear in the exported structure.<br />

Parameter<br />

Beta<br />

f<br />

Fpass<br />

Fstop<br />

Description<br />

Kaiser window β parameter.<br />

Contains a vector of band-edge frequencies, normalized so<br />

that 1 Hz corresponds to half the sample frequency.<br />

Passband cutoff frequencies. Scalar for lowpass and<br />

highpass designs, two-element vector for bandpass and<br />

bandstop designs.<br />

Stopband cutoff frequencies. Scalar for lowpass and<br />

highpass designs, two-element vector for bandpass and<br />

bandstop designs.<br />

6-37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!