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

 Respuesta aceptada

Thorsten
Thorsten el 9 de En. de 2013

0 votos

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

1 comentario

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Elementary Math en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by