freqspace.m

Finds the corresponding frequency array for a homogeneous spaced vector.
397 Downloads
Aktualisiert 19. Apr 2011

Lizenz anzeigen

When producing a spectrum with fft.m there is no build-in m-file to find the corresponding y-axis. Example; if you want to plot the real Fourier coefficients of a signal (y) with corresponding time (t), write 'plot(freqspace(t),real(fft(y)))'. Created while finding derivatives in the Fourier sense, i.e. dy/dt=ifft(2i*pi*freqspace(t).*fft(y),'symmetric'); Uses ifftshift.m and linspace.m.

Zitieren als

Ivan van der Kroon (2025). freqspace.m (https://www.mathworks.com/matlabcentral/fileexchange/31108-freqspace-m), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0