Fourier Coefficient Conversion

Converts Fourier Coefficients from exponential to cos/sin and the other way around.
278 Downloads
Updated 13 Mar 2012

View License

[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 (2024). 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 Linux
Categories
Find more on Kernel Creation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0