Invalid expression. When calling...

1 visualización (últimos 30 días)
Liam Sullivan
Liam Sullivan el 9 de En. de 2020
Comentada: Liam Sullivan el 15 de En. de 2020
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de En. de 2020
cos(x/2)^2

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by