visualizing the fourier transform of pseudo random sequence with Matlab
Show older comments
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
Answers (1)
Wayne King
on 14 Mar 2012
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 Comment
Jorge Rivé
on 15 Mar 2012
Categories
Find more on Discrete Fourier and Cosine Transforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!