Create a Vector for Amplitude Spectrum Plot
Mostrar comentarios más antiguos
Hi, I need to create a program that plots the ampltitude spectrum of a signal with two inputs: Signal and Nyqyust Frequency (phi) and output F which is the FFT of the signal.
How do I create a vector for the x axis which is filled with the frequency values (Hz) which are: 0, 1/N*tau. 2/N*tau, ..., phi, -phi+1/N*tau, -phi+2/N*tau, ..., -1/N*tau ?? Where the first N/2+1 elements of the FFT are positive up to Phi and then it is followed by N/2-1 negative frequencies.
Thanks !
Respuestas (0)
Categorías
Más información sobre Fourier Analysis and Filtering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!