フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Getting a minimum value

1 回表示 (過去 30 日間)
Shripad
Shripad 2012 年 6 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have done a MATLAB program to solve one equarion as given below
syms x
m = solve(185.105*x + 0.033165331*x^0.8 -223)
m1 = real(m)
By this equation I am getting one real solution and four solutions in terms of imaginary values. So, I have used the command " m= real(m) ".
Now I want to get the minimum value out of these five solutions. Which command should I use ? I tried using "min()" command and "realmin()" command. But I have not got the results.
Please help me
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 6 月 22 日
What does it mean to find the minimum of values that include imaginary values ?
Please re-check the solutions; I suspect that the imaginary ones are invalid.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 6 月 22 日
min(double(m))

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by