Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
1

Are there transfer function, state space, and bode plots?

asked 10 years ago

Rongcui Dong gravatar image

I am looking for something like tf(), ss(), and bode() in control package of Octave, but I don't see them in sage. Are there any equivalents?

Preview: (hide)

Comments

las bases teóricas-matematicas son la equivalencia que buscas

luisratia gravatar imageluisratia ( 10 years ago )

I'm sorry, but I can read nothing other than English and Chinese...

Rongcui Dong gravatar imageRongcui Dong ( 10 years ago )

4 Answers

Sort by » oldest newest most voted
1

answered 10 years ago

Rongcui Dong gravatar image

updated 10 years ago

There seems to be something like that in numpy/scipy, I will check that out.

UPDATE: Now I use Sage/Sympy to derive the symbolic function, and convert the numerator and denominator to coefficients of polynomials, and create LTI systems in Scipy to use functions like LTI.bode(), signal.convolve(), etc. Also, I really can't read most of your answers.

Preview: (hide)
link
0

answered 10 years ago

slelievre gravatar image

Luis Ratia has made some Sage notebook worksheets available: Bode plots, and just recently posted about it on the sage-support and sage-notebook Google groups.

Preview: (hide)
link

Comments

Thanks, but I know how to do that. I am just not sure if there is an automatic way to help me do the s=I*omega and 20*log(abs(H),10) etc.

Rongcui Dong gravatar imageRongcui Dong ( 10 years ago )
0

answered 10 years ago

luisratia gravatar image

updated 10 years ago

slelievre gravatar image

En Sage, la graficas son exactas y las unidades son en decibelios en el eje de salida y radianes en la grafica de magnitud, en la fase son grados en el eje y y radianes en el eje x, en las dos graficas el eje x es semilogaritmico. Yo comparo estas con los libros de control automatico y los resultados son totalmente compatibles.

Edit: translation. In Sage, the graphics are exact and the units are decibels on the output axis and radians for the magnitude; in the phase, degrees in the y-axis and radians in the x-axis; in both graphics the x-axis is semilogarithmic. I compare these with books on automatic control and the results are fully compatible.

Preview: (hide)
link

Comments

Sorry, I can't read this...

Rongcui Dong gravatar imageRongcui Dong ( 10 years ago )

I know how to plot if I type in the function manually. I am just trying to find a way so that I don't need to type lots of 20*log(abs(H),10) or H.subs(s=I*omega) things, they are all repetitive.

Rongcui Dong gravatar imageRongcui Dong ( 10 years ago )
0

answered 10 years ago

luisratia gravatar image

pues no se si son repetitivas, se define G(s) una ves y luego a partir de esa funcion se obtienen las graficas. Una solución es crear una funcion sage y pasarle a G(s) como argumento, esta funcion sage retorna las graficas de bode y nyquist, o grafica polar, tambien puedes obteber la de Nichols.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 2,466 times

Last updated: Aug 22 '14