Error message received when entering code

 采纳的回答

Voss
Voss 2021-12-7
'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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by