Sum of complex fourier series
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2016-4-7
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 个评论
Walter Roberson
2022-10-18
https://www.mathworks.com/help/simulink/slref/complextorealimag.html
https://www.mathworks.com/help/simulink/slref/realimagtocomplex.html
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!