Problems with matrices operations

1 vue (au cours des 30 derniers jours)
Jucimar Carpe
Jucimar Carpe le 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...

Réponses (1)

madhan ravi
madhan ravi le 4 Mar 2019
B\A

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by