plotting graph in simulink

조회 수: 1 (최근 30일)
Pat
Pat 2012년 11월 6일
I have to plot graphs in simulink the graphs is i the link
how can we plot the graph in simulink,if not possible in simulink ,please tell how to plot in matlab m file

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 12일
편집: Azzi Abdelmalek 2012년 11월 12일
This is a plot of a step response of second order system, you can use step command in a for loop, varying the damping coefficient sigma from 0 to 1
hold on;
sigma=.5;
for k=1:5
w0=1;
sigma=sigma+.1;
N=[w0];
D=[1 2*sigma*w0 w0^2]
step(N,D)
end
grid
  댓글 수: 8
Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 17일
You can't just draw this plot, you must provide the frequency response
Pat
Pat 2012년 11월 17일
is it possible to draw non stability region B in negative region

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

추가 답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 11월 6일
MATLAB might be more appropriate if you want to control the line styles. See Specifying Line Style.
  댓글 수: 5
Walter Roberson
Walter Roberson 2012년 11월 9일
You put it together yourself, calculating where all the lines should go.
There is no built-in plot of that style that I know of in MATLAB (but it is possible it exists in a toolbox somewhere or in Simulink somewhere and I just have not run across it yet.)
Kaustubha Govind
Kaustubha Govind 2012년 11월 12일
Pat: Are you asking us to identify the function that has been plotted? That might be difficult to do.

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

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by