Fourier Coefficient Conversion
Version 1.0.0.0 (1.63 KB) by
Sebastian W
Converts Fourier Coefficients from exponential to cos/sin and the other way around.
[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 .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Kernel Creation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
