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.

Can the real and imaginary parts be recovered with specgram?

Status
Not open for further replies.

kawishwaq

Newbie level 2
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.. :(


kawishwaq said:
% 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..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top