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

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일

0 개 추천

You have a ":" instead of ";" in >> Y=sqrtm(A):

카테고리

태그

질문:

2017년 3월 10일

편집:

ES
2017년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by