MATLAB SIGNAL PROCESSING TOOLBOX 6 Instrukcja Użytkownika Strona 56

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 60
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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)
Przeglądanie stron 55
1 2 ... 51 52 53 54 55 56 57 58 59 60

Komentarze do niniejszej Instrukcji

Brak uwag