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

1 vue (au cours des 30 derniers jours)
Mehdi
Mehdi le 10 Mar 2017
Modifié(e) : ES le 10 Mar 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???

Réponses (1)

ES
ES le 10 Mar 2017
Modifié(e) : ES le 10 Mar 2017
You have a ":" instead of ";" in >> Y=sqrtm(A):

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by