필터 지우기
필터 지우기

How to convert complex signals to sinusoidal signal?

조회 수: 10 (최근 30일)
Nikhil
Nikhil 2019년 7월 2일
댓글: Nikhil 2019년 7월 2일
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

답변 (1개)

Jonas
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.
  댓글 수: 1
Nikhil
Nikhil 2019년 7월 2일
Thank you for your feedback, Jonas.
But I would like to have sinusoidal signal with respect to time, not the plot between real and imaginary axis.
For eg: if the number is 3∠90, I want the output to be 3sin(wt+90)
Is there a way to do that?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by