Filter löschen
Filter löschen

How to solve this equation in Matlab

2 Ansichten (letzte 30 Tage)
Carlos Galvis Correa
Carlos Galvis Correa am 3 Dez. 2020
Kommentiert: Star Strider am 5 Dez. 2020
Dear All,
Can anyone please let me know how to solve the equation showed in the picture using Matlab, please.
Regards,
Carlos G

Akzeptierte Antwort

Star Strider
Star Strider am 3 Dez. 2020
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 Kommentare
Carlos Galvis Correa
Carlos Galvis Correa am 5 Dez. 2020
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
Star Strider
Star Strider am 5 Dez. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by