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

1 visualizzazione (ultimi 30 giorni)
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???

Risposte (1)

ES
ES il 10 Mar 2017
Modificato: ES il 10 Mar 2017
You have a ":" instead of ";" in >> Y=sqrtm(A):

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by