How to solve this symbolic nonlinear equation

조회 수: 1 (최근 30일)
Amit Kumar
Amit Kumar 2014년 3월 12일
댓글: Amit Kumar 2014년 3월 12일
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.

채택된 답변

Mischa Kim
Mischa Kim 2014년 3월 12일
Amit, how about
syms F0;
temp1 = 0.000015703323139706438927296317410964*F0^2;
double(solve(temp1==1,F0))
  댓글 수: 1
Amit Kumar
Amit Kumar 2014년 3월 12일
Simple catch, I didn't thought of! Thank you very much!!

댓글을 달려면 로그인하십시오.

추가 답변 (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