How to say this in MATLAB language?

2 次查看(过去 30 天)
I want to say a plus b equals to 10
math exuation:
a+b=10
how write this in matlab?

采纳的回答

madhan ravi
madhan ravi 2018-12-7
编辑:madhan ravi 2018-12-7
Welcome to the club ;-) see syms requires symbolic math toolbox
syms a b
equation=a+b==10
  4 个评论
Image Analyst
Image Analyst 2018-12-7
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 2018-12-7
Matlab will calculate the best values for my fitness function.
Yes, I should and will read the documentation.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by