Matlab Simulink spectrum of a signal

Status
Not open for further replies.

elcink

Newbie level 5
Joined
May 5, 2009
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,346
Hi,
i want to see the spectrum of the output in a pll. In order to do so, i have put 5 blocks in series: the first is the Zero-Order-Hold (its sampling time is more than twice the main frequency of the output), the second is a Buffer, the third is the fft block(having fft length equal to that of the buffer), the fourth is the abs block and the last is the Spectrum Scope....

I try by different sizes of buffering to do the job but I don't see anything in the spectrum scope.....Can anyone please suggest which parameters should i change in these blocks or which right blocks should i use??
It's very critical....

Thanks for your interest
 

As your approach is right, can you upload your model here so that it will be easy to debug

-- Ashwini
 

Thanks...Finally i found a solution and it works fine. Thank you anyway Ashwini!
 

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