Invalid expression. When calling...

12 ビュー (過去 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
  1 件のコメント
Liam Sullivan
Liam Sullivan 2020 年 1 月 15 日
thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by