Filter löschen
Filter löschen

How to plot the frequency spectrum of a signal

5 Ansichten (letzte 30 Tage)
mostafa hager
mostafa hager am 30 Mai 2021
i have a signal in frequency domain sinc(f/5000)
how can i plot it as a spectrum ?

Antworten (1)

Sai Charan Sampara
Sai Charan Sampara am 30 Jun. 2022
The spectrum of a signal is the magnitude of each frequency components of a signal plotted against frequency. A spectrum is the frequency domain representation of a signal. A time domain signal can be changed to spectrum by using fourier transform. In this case the frequency domain representation of the signal is already given which is the spectrum itself. Plot the function (sinc in this case) against frequency (f) to obtain the spectrum.
f=1:10:100000;
y=sinc(f/5000);
plot(f,y);

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by