Why I receive Error: Expression or statement is incomplete or incorrect?

1 回表示 (過去 30 日間)
Mehdi
Mehdi 2017 年 3 月 10 日
編集済み: ES 2017 年 3 月 10 日
for a simple problem I get this error: >> A=rand(12); >> Y=sqrtm(A): ??? Y=sqrtm(A): | Error: Expression or statement is incomplete or incorrect. Why???

回答 (1 件)

ES
ES 2017 年 3 月 10 日
編集済み: ES 2017 年 3 月 10 日
You have a ":" instead of ";" in >> Y=sqrtm(A):

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by