How can i get the frequency response from this code:
Mostrar comentarios más antiguos
close all; clc;
load('whitenoize.mat'); %generated white noise
load('whitenoiserec.mat'); %recorded white nosie
x = orgwhite(20000:50000); % extract the white noise part only
y = recwhite(20000:50000)'; % extract the corresponding response to white noise part
h2 = ifft(fft(y)./fft(x)); %to get impulse response
plot(abs(h2));
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Digital Filter Design en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!