calculating a number in matlab

Hello, I am trying to simply calculate a number in matlab, and for some reason im getting this error:
EDU>> x=-((3+sqrt(9-(4*1*(-8^-18)))/2)
x=-((3+sqrt(9-(4*1*(-8^-18)))/2)
|
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
anyone know whats going on here?

 Respuesta aceptada

manoj saini
manoj saini el 15 de Feb. de 2013

0 votos

this would be correct syntax x=-(3+sqrt(9-(4*1*((-8)^-18)))/2) try it

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 15 de Feb. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by