How to solve this symbolic nonlinear equation

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2014 年 3 月 12 日

コメント済み:

2014 年 3 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by