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

 Respuesta aceptada

John D'Errico
John D'Errico el 23 de Oct. de 2022
Editada: John D'Errico el 23 de Oct. de 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 = 

Más respuestas (0)

Categorías

Más información sobre Measurements and Feature Extraction en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 23 de Oct. de 2022

Comentada:

el 23 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by