Question: function C = FourierSeries(x, MaxK) % this function returns FS coefficients of 2*MaxK+1 Coefficients[ + ... ... ] % Note that C(1) means , C(2*MaxK+1)
function C = FourierSeries(x, MaxK) % this function returns FS coefficients of 2*MaxK+1 Coefficients[ + ... ... ] % Note that C(1) means , C(2*MaxK+1) means N = length(x) ; for k = 1 : 2*MaxK+1 % Fill here for proper computation of C(k) end C = C/ N
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
