Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how i can plot the spectrum of an audio signal using mat lab

Status
Not open for further replies.

krmla

Newbie level 1
Joined
Jan 31, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
i need your help

how i can plot the spectrum of an audio signal using mat lab

i know that i have to use like this



>> Y=fft(x);
>> hz5000=5000*length(Y)/fs;
f=(0:hz5000)*fs/length(Y);
subplot(3,1,2);
plot(f,20*log10(abs(Y(1:length(f)))+eps));
legend('Spectrum');
xlabel('Frequency (Hz)');
ylabel('Magnitude (dB)');


but the previous code plot between 1ms (=1000Hz) and 20ms (=50Hz)
i want plotting all the spectrum not for a certain part.


>>>>>>>>>>>>>>

also i want all the wave components of the aircraft sound


thanks alot..............
 

Re: i need your help

Hi,

Read this topic. It will be of help to you.



Regards
Sree
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top