How to solve this equation in Matlab

1 次查看(过去 30 天)
Dear All,
Can anyone please let me know how to solve the equation showed in the picture using Matlab, please.
Regards,
Carlos G

采纳的回答

Star Strider
Star Strider 2020-12-3
Put everything on the right-hand side, so:
f = @(d) expression - 30.19/d^2;
then use fzero or fsolve or the Symbolic Math Toolbox solve function (since it may have two roots, and with slightly different coding) to evaluate it.
  2 个评论
Carlos Galvis Correa
Hi,
I wrote the equation as "f = @(d)" as the proposed solution stated. However I used vpasolve (f,d)
Thanks for your help.
Regards,
Carlos G

请先登录,再进行评论。

更多回答(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