Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Mehdi
Mehdi el 10 de Mzo. de 2017
Editada: ES el 10 de Mzo. de 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???

Respuestas (1)

ES
ES el 10 de Mzo. de 2017
Editada: ES el 10 de Mzo. de 2017
You have a ":" instead of ";" in >> Y=sqrtm(A):

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by