how to make x(t) a real function in matlab symbolics?
2 views (last 30 days)
Show older comments
Hi,
I have a rotation matrix (R) in which I used elements such as sin(x(t)),
to do this I have defined x and t as syms t real x=sym('x(t)')
From this definition, MATLAB knows that t is a real number but does not understand that x is also a real number. because when I calculate transpose of the rotation matrix (R') it gives me
sin(conj(x(t)))
how to make MATLAB understand that all of my functions are real valued functions?
Thanks Ehsan
0 Comments
Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!