Getting error with matrix operation

Hi guys, i know this may be a fool question but anyway, i'm getting an error when i try to divide 2 matrix.
A= [1.5; -1]
B=[1 2; 3 4]
C=A./B
It says: Error using ./
Could anyone help me?

 Respuesta aceptada

madhan ravi
madhan ravi el 3 de Mzo. de 2019
A\B

2 comentarios

Jucimar Carpe
Jucimar Carpe el 3 de Mzo. de 2019
Thank you!!!
Should be
B\A

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 3 de Mzo. de 2019

Comentada:

el 4 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by