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

조회 수: 1 (최근 30일)
Mehdi
Mehdi 2017년 3월 10일
편집: ES 2017년 3월 10일
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일
You have a ":" instead of ";" in >> Y=sqrtm(A):

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by