plotting graph in simulink
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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 个评论
更多回答(1 个)
Kaustubha Govind
2012-11-6
5 个评论
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
2012-11-12
Pat: Are you asking us to identify the function that has been plotted? That might be difficult to do.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!