Sum of complex fourier series
1 view (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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
Walter Roberson
on 18 Oct 2022
https://www.mathworks.com/help/simulink/slref/complextorealimag.html
https://www.mathworks.com/help/simulink/slref/realimagtocomplex.html
More Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!