Difference between revisions of "Fft freq axis.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Update links for maintainer-requested unihash to hash_unique rename) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:fft_freq_axis.m}} __NOTOC__ | {{DISPLAYTITLE:fft_freq_axis.m}} __NOTOC__ | ||
| − | |||
Frequency axis for FFT with optional zero-filling. | Frequency axis for FFT with optional zero-filling. | ||
==Syntax== | ==Syntax== | ||
| − | [f_shift,f,df]=fft_freq_axis(npts,dt,zf) | + | [f_shift,f,df,nfft]=fft_freq_axis(npts,dt,zf) |
| − | == | + | ==Parameters== |
| − | npts - number of acquired time-domain points | + | npts - number of acquired time-domain points |
dt - time step between points | dt - time step between points | ||
zf - zero-fill length added to time domain | zf - zero-fill length added to time domain | ||
| Line 15: | Line 14: | ||
==Outputs== | ==Outputs== | ||
| − | f_shift - frequency axis for fftshift(fft(...)) | + | f_shift - frequency axis for fftshift(fft(...)) |
f - frequency axis for fft(...) | f - frequency axis for fft(...) | ||
df - frequency resolution | df - frequency resolution | ||
==Examples== | ==Examples== | ||
| − | |||
See examples in the Spinach distribution relevant to this function. | See examples in the Spinach distribution relevant to this function. | ||
==Notes== | ==Notes== | ||
| − | |||
This page was generated from the function header in the Spinach repository. | This page was generated from the function header in the Spinach repository. | ||
==See also== | ==See also== | ||
| − | + | [[ifft_time_axis.m]], [[plot_1d.m]], [[plot_2d.m]], [[plot_3d.m]], [[autoexec.m]], [[bos_product_table.m]], [[fwhm2rlx.m]], [[icm2hz.m]], [[intrep.m]], [[istraceless.m]], [[kq2lin.m]], [[kronm.m]], [[lcurve.m]], [[lin2kq.m]], [[min_int_type.m]], [[prune_subgraphs.m]], [[redfield_integral_async.m]], [[redfield_integral_serial.m]], [[repcols.m]], [[reprows.m]], [[serpentine.m]], [[st_product_table.m]], [[tikhol1n.m]], [[hash_unique.m]], [[which_subst.m]], [[xyz2hfc.m]], [[Kernel_utilities]] | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
''Version 2.11, authors: [[Ilya Kuprov]]'' | ''Version 2.11, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 16:19, 11 October 2026
Frequency axis for FFT with optional zero-filling.
Syntax
[f_shift,f,df,nfft]=fft_freq_axis(npts,dt,zf)
Parameters
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, autoexec.m, bos_product_table.m, fwhm2rlx.m, icm2hz.m, intrep.m, istraceless.m, kq2lin.m, kronm.m, lcurve.m, lin2kq.m, min_int_type.m, prune_subgraphs.m, redfield_integral_async.m, redfield_integral_serial.m, repcols.m, reprows.m, serpentine.m, st_product_table.m, tikhol1n.m, hash_unique.m, which_subst.m, xyz2hfc.m, Kernel_utilities
Version 2.11, authors: Ilya Kuprov