how to make x(t) a real function in matlab symbolics?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!