Problems with matrices operations

1 visualizzazione (ultimi 30 giorni)
Jucimar Carpe
Jucimar Carpe il 4 Mar 2019
Risposto: madhan ravi il 4 Mar 2019
Hi guys, i'm still having some issues with some basic matrix operation, i'm trying to divide C=A/B but.
A= [1; 2]
B=[1 2; 3 4]
C=A/B
On my hp prime calculator i get the correct answer!
C=[0; 0.5]
But on matlab, it tells me that's it's wrong dimension, what can i do?
PS: I've already tried do A\B but it gives me the wrong answer...

Risposte (1)

madhan ravi
madhan ravi il 4 Mar 2019
B\A

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by