Fourier Sine code simplified to solve this problem and plot

Respuestas (1)

Star Strider
Star Strider el 2 de Feb. de 2019
Editada: Star Strider el 2 de Feb. de 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.

La pregunta está cerrada.

Preguntada:

el 2 de Feb. de 2019

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by