Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi, everyone,
I tried to program a fourier series of a step function, using the complex form.
Imitating the example code of the real series from the HELP folder, it succeeded.
But when I wrote it in terms of my own perception, it failed.
Could someone help me check where I did wrong?
Please see the attachment.
Thank you in advance!
Shawn
Solved! Go to Solution.
It's a Prime 3.1 sheet, so I can't check this, but:
When you assign A[N and B[N, N is a fixed number, 10. Therefore your coefficients are all zero, except for the last one. Just use
A:=2*Re(P)
B:=-2*Im(P)
It's a Prime 3.1 sheet, so I can't check this, but:
When you assign A[N and B[N, N is a fixed number, 10. Therefore your coefficients are all zero, except for the last one. Just use
A:=2*Re(P)
B:=-2*Im(P)
Yep, you are right!!!
Thank you, Richard!
Jedi to the rescue!