
Christopher D. answered 06/27/14
Tutor
4.9
(383)
Mathematician and Educator
So the problem is that MATLAB doesn't know p is a function, and assumes it to be a constant? Could you replace all p with p(t), or something like that. (I'm unfamiliar with MATLAB, so I'm not sure the best way to explicitly define p as a function of t.)

Christopher D.
I found this by google searching: http://www.mathworks.com/matlabcentral/answers/94623-how-do-i-symbolically-work-with-implicit-functions-i-e-x-t-within-the-symbolic-math-toolbox
Let me know if that helps at all. (I wish I knew more about MATLAB.)
Report
06/29/14
Sina R.
Thanks Christopher,
I found the work around in Maple. Of course I got stuck in the next step which is calculation of vector derivative of a matrix. :)
I hope I can figure it out.
Thanks again
Report
06/29/14
Sina R.
06/27/14