How to convert complex signals to sinusoidal signal?
10 次查看(过去 30 天)
显示 更早的评论
I have a complex number as the output of MATLAB function, I want to convert it into a sinusoidal signal (phasor form) and display in the scope. At the moment I am getting the output of the scope as two signals: the real and imaginary part of the number.![Output.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227112/Output.png)
![Output.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227112/Output.png)
0 个评论
回答(1 个)
Jonas
2019-7-2
It is not possible to change the display mode of a Scope block other than displaying time on the horizontal axis. If you want an XY-plot, you should use the 'XY Graph' block, which opens a new figure after the simulation has finished.
Alternatively, you can use an embedded Matlab function and then use the 'figure' command to display all kinds of plots you like outside of the regular Scope block functionality.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!