Akzeptierte Antwort

Voss
Voss am 7 Dez. 2021

0 Stimmen

'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.

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by