Matlab Simulink spectrum of a signal

Discussion in 'Programmer's Corner' started by elcink, Jul 4, 2010.

  1. elcink

    Thread Starter New Member

    Jul 4, 2010
    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