Complex Fourier Series in MATLAB

11 views (last 30 days)
Aijalon Marsh
Aijalon Marsh on 31 Oct 2020
Commented: Abhi Rane on 15 Jul 2021
Hello I'm tyring to solve this Complex fourier series porblem but for some reason when I solve for F1 I get an error and I'm not sure why because I have know warings so it should run smoothly. I would appreciate any assistance in resolving this issue and thank you in adavnce.
% Problem_1 the Complex Foruier series of the function f(x)
% f(x)=-1 -pi < x < 0
% f(x)=1 0 < x < pi
syms x n real
syms n integer
P = sym(2);
y = -1;
y1= 1;
display (F1)
Aijalon Marsh
Aijalon Marsh on 1 Nov 2020
Um I sorry but I'm not sure what you've done to improve upon my issue cause I still have the same problem.

Sign in to comment.

Accepted Answer

VBBV on 1 Nov 2020
% if true
% code
Use x as the summing variable.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by