Fourier Sine code simplified to solve this problem and plot
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (1)
Star Strider
on 2 Feb 2019
Edited: Star Strider
on 2 Feb 2019
You can do this symbolically just as the problem is written:
syms t omega f(t)
f(t) = sin(t);
Fourier = int(f*exp(1j*omega*t), t, 0, pi)
Fourier = rewrite(Fourier, 'sincos')
I leave the rest to you.
EDIT —
NOTE — We have no idea what a is, since you chose not to share that information.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!