Fourier Coefficient Conversion

Converts Fourier Coefficients from exponential to cos/sin and the other way around.

You are now following this Submission

[a, b] = FOURIERexp2cossin(c)
Calculate the cos (a) & sin (b) coefficients of the exponential
Fourier coefficients (c) returned by fft(x)/size(x,1),
while isreal(x) = true
needs the unshifted coefficients as input

c = FOURIERcossin2exp(a, b)
Calculate the exponential Fourier coefficients (c) of the
cos (a) & sin (b) coefficients while a(1) = a0 ...
gives back the unshifted coefficients

Cite As

Sebastian W (2026). Fourier Coefficient Conversion (https://www.mathworks.com/matlabcentral/fileexchange/35607-fourier-coefficient-conversion), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Kernel Creation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0