How to solve the following questions?
Afficher commentaires plus anciens
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?
Réponses (1)
Your system is equivalent to:
[2 3;2 3;2 3]*[x;y] = [-23;-19;-15]
What makes you think this has a solution?
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!