Community Profile

photo

helenaregina


Active since 2016

Followers: 0   Following: 0

Message

Dear all,

We now have this script where we loaded two files, and plotted them:

[y1,fs1]=audioread('imp_narrow.wav');
[y2,fs2]=audioread('imp_wide.wav');

t1=0:1/fs1:(length(y1)-1)/fs1;
t2=0:1/fs2:(length(y2)-1)/fs2;

plot(t1,y1,'color','m');
hold on;
plot(t2,y2,'color','g');
title('Two signals')

ylabel('Amplitude (Pa)')
xlabel('Time (sec)')

Now we need to calculate the frequency response (spectrum) of each impulse response. Can anyone help us?

Thank you in advance!

Statistics

Feeds

View by

Question


How to calculate the frequency response (spectrum) of each impulse response?
Dear all, For an exercise we loaded two wave audio files, and plotted them: [y1,fs1]=audioread('imp_narrow.wav'); [y...

ongeveer 8 jaar ago | 1 answer | 0

1

answer