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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by