MATLAB SIGNAL PROCESSING TOOLBOX 6 Manuel d'utilisateur Page 36

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 35
3 Design a Filter with fdesign and filterbuilder
3-8
Design a Filter Using filterbuilder
Filterbuilder presents the option of designing a filter using a GUI dialog box as opposed
to the command line instructions. You can use Filterbuilder to design the same bandpass
filter designed in the previous section, “Design a Filter Using fdesign” on page 3-3
Design a Simple Filter in Filterbuilder
To design the filter using the Filterbuilder GUI:
1
Type the following at the MATLAB prompt:
filterbuilder
2
Select Bandpass filter response from the list in the dialog box, and hit the OK
button.
3
Enter the correct frequencies for Fpass2 and Fstop2, then click OK. Here the
specification uses normalized frequency, so that the passband and stopband edges
are expressed as a fraction of the Nyquist frequency (in this case, 48/2 kHz). The
following message appears at the MATLAB prompt:
The variable 'Hbp' has been exported to the command window.
If you display the Workspace tab, you see the object Hbp has been placed on your
workspace.
4
To check your work, plot the filter magnitude response using the Filter Visualization
tool. Verify that all the design parameters are met:
fvtool(Hbp) %plot the filter magnitude response
Vue de la page 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 59 60

Commentaires sur ces manuels

Pas de commentaire