freqspace.m
Version 1.0.0.0 (1,3 KB) von
Ivan van der Kroon
Finds the corresponding frequency array for a homogeneous spaced vector.
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 LinuxKategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |