Matrix Multiply Problem and how to write at Matlab

Hi guys, i'm noob about matrix.
% code
given data that matrix A = [1 2; 3 4]
and matrix B = [4 5;6 7]
that [A]*[C]=[B]
How to find matrix C?
thanks

 Réponse acceptée

Thorsten
Thorsten le 9 Jan 2013

0 votes

C = inv(A)*B
or
C = A\B

1 commentaire

Jan
Jan le 9 Jan 2013
The 2nd method is more efficient and more stable, such that it should be preferred in every case.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by