Using matlab to find fourier series coefficients ak
Show older comments
Hello, can anyone please help me with this? I need a function that recieves a vector x which represent x[n] and return Fourier series coefficients ak (ak is a vector also or in matrix form) The equation i need to use is 1/N sum x.e^(-i*2*pi*k*n) sum from n=0 to N-1, k= 0, 1, 2, 3... Im not sure how to receive vectors (matrix?) or make a return of vectors. I know I just need a for loop of 0 to N-1 for the summation once i receive the x. Thank you.
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!