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?

 채택된 답변

manoj saini
manoj saini 2013년 2월 15일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2013년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by