Matrix multiplication error arising

Respuestas (1)

the cyclist
the cyclist el 7 de Feb. de 2021

1 voto

Let's ignore the scalar values a and c, which do not cause any problem.
b is a 3x1 vector.
d is a 10x1 vector.
What do you expect to be the result of b.*d? They have a different number of elements, so the operation is ill-defined.

Categorías

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

Productos

Versión

R2019a

Preguntada:

el 7 de Feb. de 2021

Comentada:

el 7 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by