Invalid expression. When calling...

조회 수: 13 (최근 30일)
Liam Sullivan
Liam Sullivan 2020년 1월 9일
댓글: Liam Sullivan 2020년 1월 15일
I have a code that says
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
when i am trying to type cos^2(x/2). Also, i have defined x as pi/6.

채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 9일
cos(x/2)^2

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by