How can I change a 3x3 matrix into several matrices which are multiple and plusing together?

조회 수: 1 (최근 30일)
I want to change a 3x3 matrix to a several matrices for example my 3x3 matrix is A and I have 3 symbolic which I want to factor from and make the other matrices I mean
A=[a*cos(h)+d,b*sin(g)+e,c*sin(i)+f;a*sin(g)+f,b*cos(i)+e,c*sin(h)+d;a*cos(g)+d,b*sin(h)+f,c*sin(i)+e]
B[a;b;c]
%
C=[cos(h),sin(g),sin(i);sin(g),cos(i),sin(h);cos(g),sin(h),sin(i)]
D=[d,e,f;f,e,d;d,f,e]
I want to write a code that I give (A and B) and get (C and D)
  댓글 수: 7
john white
john white 2018년 2월 28일
편집: john white 2018년 2월 28일
yes you're right C must equal to this
john white
john white 2018년 2월 28일
let me ask my question clearly how can I get a factor from a 3x3 matrix which the vars is a 3x1 matrix?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by