Error message received when entering code

 Respuesta aceptada

Voss
Voss el 7 de Dic. de 2021

0 votos

'dot' is both a function and a variable. Use clear dot to remove the variable dot.
Then when you run dot(U1,U2), it'll calculate the dot product of U1 and U2 rather than trying to figure out the U1,U2 index of the variable dot.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 7 de Dic. de 2021

Comentada:

el 11 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by