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

 Réponse acceptée

John D'Errico
John D'Errico le 23 Oct 2022
Modifié(e) : John D'Errico le 23 Oct 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 = 

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics and Optimization dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by