How to defined a transfer function which includes letters and numbers
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I need to draw the bode diagram of a transfer function:
L(s)=C*(1+ms)/(1+ns) where m and n are positive. My problem is that I didnt creat transfer function on MATLAB because of m and n variables. It gives me the error. How can I solve that problem. Thanks in advance
0 comentarios
Respuestas (2)
Walter Roberson
el 14 de Sept. de 2016
Editada: Walter Roberson
el 14 de Sept. de 2016
0 comentarios
Halil
el 14 de Sept. de 2016
Editada: Walter Roberson
el 14 de Sept. de 2016
1 comentario
Walter Roberson
el 14 de Sept. de 2016
Construct the ratio symbolically, not using tf(). Then use https://www.mathworks.com/matlabcentral/fileexchange/10816-mimo-toolbox/content/Mimotools/sym2tf.m
That might not work until you have substituted in definite values for all except one of the variables, though.
You are unlikely to be able to get a frequency response plot from a transfer function that involves variables other than the one one (such as s): the closest you would be able to get would be to substitute in specific values for those variables and plot that.
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!