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

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by