MATLAB Answers

Fourier series using matlab

3 views (last 30 days)
Romuel Josue Miranda
Romuel Josue Miranda on 4 May 2021
Answered: VBBV on 4 May 2021
Hi please correct my code because there is a persistent error.

Answers (2)

Star Strider
Star Strider on 4 May 2021
We can’t correct it because you posted an image of it rather the actual code.
The solution is straightforward nevertheless — define ‘n’ before first using it!

VBBV
VBBV on 4 May 2021
Use x in place of n as it appears in other equations too.

Community Treasure Hunt

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

Start Hunting!

Translated by