I solved 2 degree dependant differential equations in simulink and I got 2 equations as a funtion of time say X(t) and Y(t). Scope is plotting graph between x vs t and y vs t. But I want grph of T vs X, T vs Y, and X vs y. Tell me if some way is there or suggest if some other technique I can use.

 채택된 답변

Jesús Zambrano
Jesús Zambrano 2020년 10월 19일

1 개 추천

With a Scope block (form Library, section Sinks) you get a trend of a variable as function of time.
If you use the XY Graph block (also from Library, sectino Sinks) you can plot a variable vs another variable.
Hope it helps.

댓글 수: 2

Mrudul Agrawal
Mrudul Agrawal 2020년 10월 22일
And what about inverting graph in scope? Like scope is showing X vs t graph, I want t vs X graph..
Jesús Zambrano
Jesús Zambrano 2020년 10월 23일
Scope are plotting input data during time. For the plot you described, I suggest to do a post-processing of data: save them in ToWorkspace blocks and then, in command window (or in a script) plot the data in the order you want.
Hope it helps!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

제품

질문:

2020년 10월 19일

댓글:

2020년 10월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by