array of symbolic variables which are function of time
Mostrar comentarios más antiguos
p = sym('p', [m 1]);
the above code gives me an array of symbolic variables, where m is the size of the matrix. However i want to create an array of symbolic variables which are function of time i.e. p1(t),p2(t),.... .
Respuesta aceptada
Más respuestas (2)
Juraj Lieskovský
el 4 de Mzo. de 2021
Editada: Juraj Lieskovský
el 4 de Mzo. de 2021
Simple solution (using R2020b)
syms t
syms p(t) [m,1]
KSSV
el 26 de Oct. de 2017
syms p1(t) p2(t) p3(t)
p = [p1 p2 p3]
1 comentario
Jai Tushar
el 26 de Oct. de 2017
Editada: Jai Tushar
el 26 de Oct. de 2017
Categorías
Más información sobre Numeric Solvers 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!