freqspace.m
版本 1.0.0.0 (1.3 KB) 作者:
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.
引用格式
Ivan van der Kroon (2024). freqspace.m (https://www.mathworks.com/matlabcentral/fileexchange/31108-freqspace-m), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |