aSym(n) = subs( simplify(int(Data*cos(n.*wo.*t),t,0,To)/(To/2)), Data, data);
bSym(n) = subs( simplify(int(data*sin(n.*wo.*t),t,0,To)/(To/2)), Data, data);
However, you will find that with that particular To that all of your a entries and all of your b entries are exactly 0.
7 Comments
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123700
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123700
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123745
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123745
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123820
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123820
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123825
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123825
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123845
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123845
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123905
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1123905
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1136578
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/643240-audio-signal-eval-error-for-fourier-series-approximation#comment_1136578
Sign in to comment.