Matrix Multiply Problem and how to write at Matlab

3 vues (au cours des 30 derniers jours)
Andy Rahmawan
Andy Rahmawan le 9 Jan 2013
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
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)

Catégories

En savoir plus sur Elementary Math dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by