regarding Fourier transform of sinc function
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Gaurav Sharma
am 15 Mai 2019
Beantwortet: Bjorn Gustavsson
am 15 Mai 2019
I am trying to find the fourier transform of sinc (t) function, which acc. to the mathematics, should be a rectangular function ranges between (-.5, 0.5), but what I am getting is totally different than that. May I request you to help me with this.
Is their any way to calculate normal fourier without using fft function?
The MATLAB code is attached with this message.
0 Kommentare
Akzeptierte Antwort
Bjorn Gustavsson
am 15 Mai 2019
Well, before plotting try to check what your variable fy is:
whos fy
Then when you see that it is a complex variable you have to check how matlab plots complex variables, once you've done that try:
fy = fftshift(fy);
plot([abs(fy);angle(fy);real(fy);imag(fy)]')
HTH
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!