Invalid expression. When calling...

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.

More Answers (0)

Categories

Find more on Elementary Math in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!