How to solve the following questions?

A =[1;1;2]
B= [x y 6;x y 5; x y 4]
C = [2;3;4]
D = B*C
I want to write a code so that that multiply the matrix B (of some unknown variables) with matrix C, SO as D(1) be = x*2+y*3+6*4 D(2) be = x*2+y*3+5*4 D(3) be = x*2+y*3+4*4
and then A = D
so that , A(1) = D(1) & A(2) = D(2) & A(3) = D(3).
Now using the solve command i will solve the value of x & y.
Can anyone,help me please?

답변 (1개)

Matt Fig
Matt Fig 2012년 10월 24일
편집: Matt Fig 2012년 10월 24일

0 개 추천

Your system is equivalent to:
[2 3;2 3;2 3]*[x;y] = [-23;-19;-15]
What makes you think this has a solution?

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2012년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by