calculating a number in matlab

2 Ansichten (letzte 30 Tage)
Truxton
Truxton am 15 Feb. 2013
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?

Akzeptierte Antwort

manoj saini
manoj saini am 15 Feb. 2013
this would be correct syntax x=-(3+sqrt(9-(4*1*((-8)^-18)))/2) try it

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by