plotting graph in simulink

4 visualizaciones (últimos 30 días)
Pat
Pat el 6 de Nov. de 2012
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

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 12 de Nov. de 2012
Editada: Azzi Abdelmalek el 12 de Nov. de 2012
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 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 17 de Nov. de 2012
You can't just draw this plot, you must provide the frequency response
Pat
Pat el 17 de Nov. de 2012
is it possible to draw non stability region B in negative region

Iniciar sesión para comentar.

Más respuestas (1)

Kaustubha Govind
Kaustubha Govind el 6 de Nov. de 2012
MATLAB might be more appropriate if you want to control the line styles. See Specifying Line Style.
  5 comentarios
Walter Roberson
Walter Roberson el 9 de Nov. de 2012
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 el 12 de Nov. de 2012
Pat: Are you asking us to identify the function that has been plotted? That might be difficult to do.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by