Can the real and imaginary parts be recovered with specgram?

Status
Not open for further replies.

kawishwaq

Newbie level 2
Joined
Feb 5, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pakistan
Activity points
1,293
% I try to use specgram.m according to my understanding.
% Except that the amplitude looks ok, the real and imaginary parts are
%all messed up.
% Can the real and imaginary parts be recovered with specgram command?

t=-15:.1:15;
t_w=-5:.1:5;
p=exp(-t.^2/2);
window=exp(-t_w.^2/2);
w=-10:.1:10;
S=specgram(p,w/(2*pi),10,window',100);
subplot(3,3,7),plot(real(S))
subplot(3,3,8),plot(imag(S))
subplot(3,3,9),plot(abs(S))

Plz do favor me and comment on this... any ideas/codes/instructions are obliged..
 

Re: Can the real and imaginary parts be recovered with specg

is this a silly question??? more than 15 views but no comment..


 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…