How to solve this symbolic nonlinear equation

1 vue (au cours des 30 derniers jours)
Amit Kumar
Amit Kumar le 12 Mar 2014
Commenté : Amit Kumar le 12 Mar 2014
Hello all, I am getting stuck at solving a nonlinear symbolic equation. Here is code:
syms F0;
%temp1 is obtained by some computations on different variables. Final result is given below
temp1=0.000015703323139706438927296317410964*F0^2;
solve('temp1=1',F0)
Matlab gives warning that Explicit solution could not be found. How to solve equation using solve() with variables inside? I don't want to use 'equation=0'. I want to use variables. Any help? Thanks.

Réponse acceptée

Mischa Kim
Mischa Kim le 12 Mar 2014
Amit, how about
syms F0;
temp1 = 0.000015703323139706438927296317410964*F0^2;
double(solve(temp1==1,F0))
  1 commentaire
Amit Kumar
Amit Kumar le 12 Mar 2014
Simple catch, I didn't thought of! Thank you very much!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by