MATLAB SIGNAL PROCESSING TOOLBOX 6 Manuel d'utilisateur Page 56

  • 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 55
4 Filter Design with the FDATool GUI
4-18
F = fvtool(Hd,'Analysis','magnitude') % Open FVTool with
% magnitude display
set(F,'FrequencyScale','Log') % Change to log scale
This produces the same display as step 5 of “Viewing the Filter in FVTool” on page
4-10 above.
5
Now using the MATLAB command line, create some discrete white Gaussian noise
data, which you can then filter using the filter bank.
rand; % Initialize random number generator
Nx = 100000; % Number of noise data points
xw = randn(Nx,1); % Create white noise
for i=1:10,
yw(:,i)=filter(Hd(i),xw); % Filter the white noise through
end % the entire filter bank.
% (:,i) means all rows of column i
6
Plot the filtered data.
plot(yw)
Vue de la page 55
1 2 ... 51 52 53 54 55 56 57 58 59 60

Commentaires sur ces manuels

Pas de commentaire