Matrix Multiply Problem and how to write at Matlab

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Thorsten
Thorsten il 9 Gen 2013
C = inv(A)*B
or
C = A\B
  1 Commento
Jan
Jan il 9 Gen 2013
The 2nd method is more efficient and more stable, such that it should be preferred in every case.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by