Error message received when entering code

 採用された回答

Voss
Voss 2021 年 12 月 7 日

0 投票

'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 ExchangeMultidimensional Arrays についてさらに検索

タグ

質問済み:

2021 年 12 月 7 日

コメント済み:

2021 年 12 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by