2.1.22.2.1.12 fftw_fft_unwrap_phase
Description
unwrap phase
Syntax
int fftw_fft_unwrap_phase( int nSize, double * vPhase, int nAngleUnit = FFT_ANGLE_DEGREE )
Parameters
- nSize
- [input] size of vPhase
- vPhase
- [modify] the original data of phase for input, and the result of of the transformation for output
- nAngleUnit
- [input] the unit of angle: FFT_ANGLE_RAD for radians and FFT_ANGLE_DEGREE for degree
Return
Return 0 for success.
Examples
EX1
#include <..\OriginLab\fft.h>
void fftw_fft_unwrap_phase_ex1()
{
vector vp = {0, 180, 360, 1080};
fftw_fft_unwrap_phase(4, vp);
}
Remark
See Also
fft_unwrap_phase
Header to Include
fft.h
Reference