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

1 Ansicht (letzte 30 Tage)
Mehdi
Mehdi am 10 Mär. 2017
Bearbeitet: ES am 10 Mär. 2017
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???

Antworten (1)

ES
ES am 10 Mär. 2017
Bearbeitet: ES am 10 Mär. 2017
You have a ":" instead of ";" in >> Y=sqrtm(A):

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by