Borrar filtros
Borrar filtros

Matrix dimensions must agree.

2 visualizaciones (últimos 30 días)
Rohan Repale
Rohan Repale el 29 de Mzo. de 2013
How do I multiply a 2x101 matrix with a 101x101 matrix??
I tried everything, it gives me the above error every time.
Please help,
Thanks, Rohan

Respuesta aceptada

Walter Roberson
Walter Roberson el 29 de Mzo. de 2013
>> A = rand(2,101); B = rand(101,101); size(A*B)
ans =
2 101
  3 comentarios
Rohan Repale
Rohan Repale el 29 de Mzo. de 2013
all I get in this case is 2 101
Rohan Repale
Rohan Repale el 29 de Mzo. de 2013
OK! got it, thnk u so much!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by