How do I change tolerance for fsolve() ?
古いコメントを表示
Hi, I have a code snippet like this:
options = optimset('Display','iter');
options = optimset(options,'display','on');
[x]= fsolve(@main_mod,temp_mat(:,cntr),options);
where:
cntr: counter
temp_mat: holds temperature of plates from previous iteration (used as starting guess for next iteration)
The equations formed under function mainmod are 6 equations all in their fourth power and I use symbolic variables. (all 6 variables that are to be determined by solving the equations, simultaneously.
Problem is: fslove says: No solution exists. The purpose of the code is to determine temperature of 6 plates. Thus a solution must exist (yes?)
Anybody can please help me out?
Thanks, Riddle!
1 件のコメント
Walter Roberson
2013 年 4 月 18 日
We will probably need to see your code.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numeric Solvers についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!