Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! 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!