how to make x(t) a real function in matlab symbolics?

2 ビュー (過去 30 日間)
Ehsan Asadi
Ehsan Asadi 2013 年 4 月 7 日
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 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by