MATLAB SIGNAL PROCESSING TOOLBOX 6 Bedienungsanleitung Seite 56

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 60
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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)
Seitenansicht 55
1 2 ... 51 52 53 54 55 56 57 58 59 60

Kommentare zu diesen Handbüchern

Keine Kommentare