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

 Accepted Answer

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 = 

More Answers (0)

Categories

Products

Tags

Asked:

on 23 Oct 2022

Commented:

on 23 Oct 2022

Community Treasure Hunt

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

Start Hunting!