How to solve this symbolic nonlinear equation

1 visualización (últimos 30 días)
Amit Kumar
Amit Kumar el 12 de Mzo. de 2014
Comentada: Amit Kumar el 12 de Mzo. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by