how to write code for the matrix multiplication of trignometric function having 2 unknown
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Ashmil Mohammed
2015-7-11
Try this out:
syms theta1 theta2
t1=[cos(theta1) -sin(theta1) 0 0;sin(theta1) cos(theta1) 0 0;0 0 1 0;0 0 0 1];
t2=[cos(theta2) -sin(theta2) 0 0;sin(theta2) cos(theta2) 0 0;0 0 1 0;0 0 0 1];
p=t1*t2;
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!