- Use the 'Complex to Real-Imag' block to separate the real and imaginary parts of the complex input. For more information on this block, refer to this documentation: https://www.mathworks.com/help/simulink/slref/complextorealimag.html .
- Utilize two 'IC' blocks: one for the real part and another for the imaginary part.
- Combine the outputs from the 'IC' blocks back into a complex output using the 'Real-Imag to Complex' block. For more information on this block, refer to this documentation: https://www.mathworks.com/help/simulink/slref/realimagtocomplex.html .
IC block does not support complex input. error " complex signal mismatch "
5 ビュー (過去 30 日間)
古いコメントを表示
Hello. I'm simulating a tonpilz transducer in simulink. I had stuck in an algebraic loop for days and finally I removed it by using IC block. but the input signal that drives the IC block is complex and I'm getting error " complex signal mismatch ".
and there is no options in the IC block parameters to change the signal type. could anyone help me please?
0 件のコメント
回答 (1 件)
Tejas
2024 年 11 月 25 日 10:32
Hello Naghme,
The above mentioned issue arises because complex numbers are not valid inputs for the 'IC' block. For more details on valid inputs for the 'IC' Block, refer to this documentation: https://www.mathworks.com/help/simulink/slref/ic.html .
To address the above issue, try this workaround:
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!