I Have problems with the function ss2tf, matlab say me: Undefined function 'max' for input arguments of type 'sym'.
Mostrar comentarios más antiguos
I want obtain the transfer function with the matrix A,B,C,D but I have problems. I don´t know if this problem is by my matlab R2013a, because in other matlab version 2011 works well. Thanks
2 comentarios
Mischa Kim
el 27 de Jun. de 2014
Alejandra, could you please post your code?
Alejandra
el 27 de Jun. de 2014
Editada: Star Strider
el 27 de Jun. de 2014
Respuestas (1)
Arkadiy Turevskiy
el 7 de Jul. de 2014
The first problem with your code is that A,B,C,and D matrices are symbolic, but you re trying to use ss2tf function that works on numeric matrices.
If you don't mind the loss of symbolic nature of your matrices, you can convert them to numeric:
A=double(A);
B=double(B);
C=double(C);
D=double(D);
Then your calculations should work
1 comentario
Alejandra
el 8 de Jul. de 2014
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!