mehboob_iiui
Full Member level 2

- Joined
- May 20, 2006
- Messages
- 132
- Helped
- 8
- Reputation
- 16
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- Rawalpindi - Pakistan
- Activity points
- 2,013
plotting of audio signal
consider the following Matlab code:
y=wavrecord(5*11000,11000,'double');
yfft=fft
;
% now I want to plot yfft such that I get frequency on the horizontal
% and amplitude on vertical axis
% I have tried
stem(yfft);
stem (imag(yfft),real(yfft));
but they donot give the required results...
consider the following Matlab code:
y=wavrecord(5*11000,11000,'double');
yfft=fft
% now I want to plot yfft such that I get frequency on the horizontal
% and amplitude on vertical axis
% I have tried
stem(yfft);
stem (imag(yfft),real(yfft));
but they donot give the required results...