How to say this in MATLAB language?

6 Ansichten (letzte 30 Tage)
IBM watson
IBM watson am 7 Dez. 2018
Kommentiert: IBM watson am 7 Dez. 2018
I want to say a plus b equals to 10
math exuation:
a+b=10
how write this in matlab?

Akzeptierte Antwort

madhan ravi
madhan ravi am 7 Dez. 2018
Bearbeitet: madhan ravi am 7 Dez. 2018
Welcome to the club ;-) see syms requires symbolic math toolbox
syms a b
equation=a+b==10
  4 Kommentare
Image Analyst
Image Analyst am 7 Dez. 2018
But what values do you want ot use for a and b? 2 and 8? 1 and 9? 5.5 and 4.5?
IBM watson
IBM watson am 7 Dez. 2018
Matlab will calculate the best values for my fitness function.
Yes, I should and will read the documentation.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by