フィルターのクリア

Create guess and Check loop in matlab

5 ビュー (過去 30 日間)
Xerxes Achaemenid
Xerxes Achaemenid 2021 年 6 月 5 日
コメント済み: Xerxes Achaemenid 2021 年 6 月 5 日
How can I create a guess and check loop for solve this equation: y=(2*x)-((2*x^2)*(1-exp(-1/x)))==0.211
Is there another way to solve this question?

採用された回答

Chunru
Chunru 2021 年 6 月 5 日
y= @(x) (2*x)-((2*x.^2)*(1-exp(-1./x))) - 0.211; % define the function f(x)=0
x = fsolve(y, 0); % here x0 = 0;
help fsolve for more details.
  1 件のコメント
Xerxes Achaemenid
Xerxes Achaemenid 2021 年 6 月 5 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by