Solving matrix without values

Is it possible to solve matrix calculation without defining the Θ
i mean for derivation purpose i want to solve matrices without vlaues instead just sinΘ, cosΘ
so that i can get answer in sinΘ and cosΘ format

 Risposta accettata

John D'Errico
John D'Errico il 23 Ott 2022
Modificato: John D'Errico il 23 Ott 2022
Yes. Learn how to use the symbolic toolbox. If you don't have it, then you need it for this purpose.
syms theta real
A = [cos(theta), sin(theta);-sin(theta), cos(theta)] % simple rotation matrix
A = 
B = A'*A % this product should be the identity matrix
B = 
simplify(B)
ans = 

Più risposte (0)

Categorie

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by