Clear Filters
Clear Filters

Sum of complex fourier series

3 views (last 30 days)
Kyon
Kyon on 7 Apr 2016
Commented: Walter Roberson on 18 Oct 2022
how do i sum the products of ane^j(theta)n from n=0,1,2... if the error says the sum block says it was expecting a real input but is driven by a complex input?

Accepted Answer

Walter Roberson
Walter Roberson on 7 Apr 2016
The sum block does not support complex numbers. You will need to separate the numbers into real and complex parts and sum those, and then create a complex number from the result of the two.
  3 Comments
Tuba Buyukdogan
Tuba Buyukdogan on 18 Oct 2022
How is that done can you please give more information ?
Walter Roberson
Walter Roberson on 18 Oct 2022
https://www.mathworks.com/help/simulink/slref/complextorealimag.html
https://www.mathworks.com/help/simulink/slref/realimagtocomplex.html

Sign in to comment.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!