Difference between revisions of "Ifft time axis.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Restore pre-bulk-edit wiki content) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:ifft_time_axis.m}} __NOTOC__ | {{DISPLAYTITLE:ifft_time_axis.m}} __NOTOC__ | ||
| − | |||
Time axis for IFFT with optional zero-filling. | Time axis for IFFT with optional zero-filling. | ||
==Syntax== | ==Syntax== | ||
| − | [t_shift,t,dt]=ifft_time_axis(npts,df,zf) | + | [t_shift,t,dt,nifft]=ifft_time_axis(npts,df,zf) |
==Arguments== | ==Arguments== | ||
| − | npts - number of frequency-domain points | + | npts - number of frequency-domain points |
df - frequency interval between points, Hz | df - frequency interval between points, Hz | ||
zf - zero-fill length added to either | zf - zero-fill length added to either | ||
| Line 16: | Line 15: | ||
==Outputs== | ==Outputs== | ||
| − | t_shift - time axis for fftshift(ifft(...)) | + | t_shift - time axis for fftshift(ifft(...)) |
t - time axis for ifft(...) | t - time axis for ifft(...) | ||
dt - time step between points | dt - time step between points | ||
==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== | ||
| − | |||
* [[fft_freq_axis.m]] | * [[fft_freq_axis.m]] | ||
* [[plot_1d.m]] | * [[plot_1d.m]] | ||
Revision as of 15:49, 5 April 2026
Time axis for IFFT with optional zero-filling.
Syntax
[t_shift,t,dt,nifft]=ifft_time_axis(npts,df,zf)
Arguments
npts - number of frequency-domain points
df - frequency interval between points, Hz
zf - zero-fill length added to either
side of the frequency domain
Outputs
t_shift - time axis for fftshift(ifft(...))
t - time axis for ifft(...)
dt - time step between points
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
Version 2.11, authors: Ilya Kuprov