Difference between revisions of "Fft freq axis.m"
(Normalise sequential blank lines) |
(Remove obsolete redlinks) |
||
| Line 29: | Line 29: | ||
* [[plot_2d.m]] | * [[plot_2d.m]] | ||
* [[plot_3d.m]] | * [[plot_3d.m]] | ||
| − | * | + | * kuprogram.m |
* [[bloch_sph_plot.m]] | * [[bloch_sph_plot.m]] | ||
''Version 2.11, authors: [[Ilya Kuprov]]'' | ''Version 2.11, authors: [[Ilya Kuprov]]'' | ||
Revision as of 11:42, 25 April 2026
Frequency axis for FFT with optional zero-filling.
Syntax
[f_shift,f,df,nfft]=fft_freq_axis(npts,dt,zf)
Arguments
npts - number of acquired time-domain points
dt - time step between points
zf - zero-fill length added to time domain
Outputs
f_shift - frequency axis for fftshift(fft(...))
f - frequency axis for fft(...)
df - frequency resolution
Examples
See examples in the Spinach distribution relevant to this function.
Notes
This page was generated from the function header in the Spinach repository.
See also
- ifft_time_axis.m
- plot_1d.m
- plot_2d.m
- plot_3d.m
- kuprogram.m
- bloch_sph_plot.m
Version 2.11, authors: Ilya Kuprov