visualizing the fourier transform of pseudo random sequence with Matlab

조회 수: 4 (최근 30일)
Jorge Rivé
Jorge Rivé 2012년 3월 14일
Hello,
I'm trying to visualize the fourier transform of a pseudo random sequence with Matlab, and I'm struggling with "sampling" the sequence with enough samples to display a very noticeable sinc response..any suggestions on how to do this?
thanks! Jorge

답변 (1개)

Wayne King
Wayne King 2012년 3월 14일
By pseudo random sequence do you mean a white noise sequence created with something like randn()? If so, why would that have a sinc-shaped response in the Frequency domain?
To illustrate a sinc-shaped response, you can do something like this:
h = 1/10*ones(10,1);
plot(abs(fftshift(fft(h,64))))
  댓글 수: 1
Jorge Rivé
Jorge Rivé 2012년 3월 15일
Hi Wayne,
I don't think I asked the question entirely correctly. I'm a newbie to signal processing... I want to see what the Fourier Transform of a a 127-bit (or 128), PRBS (basically a rectangular pulse train with constant bit period but varying duty cycle) would look like, for example.
I expect a sync response due to the rectangular pulses,and since the sequence repeats every 127 cycles, I expect the response to be discrete frequencies (fourier series).
Ultimately, what I want to play with is sampling the sequence at a rate which is not an integer multiple of the minimum pulse width of the sequence, so I can see how I can manipulate where the frequency bins lie and thus reduce the aliasing (not sure I explained this all that well).....

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by