Need help understanding error PLEASE
3 ビュー (過去 30 日間)
古いコメントを表示
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 4 月 27 日
編集済み: Ameer Hamza
2020 年 4 月 27 日
You haven't attached the function fwithforcing(), so I cannot run your code, but I guess that sometimes the value of x(n) becomes negative, which causes an issue with axis() function. The limits in axis() should be in ascending order. Try to change it like this.
axis([sort([0 x(n)]) -Fmax Fmax]);
Note that you will need to change both calls to axis().
5 件のコメント
Ameer Hamza
2020 年 4 月 27 日
I do not clearly understand about your program logic. You need to analyze this according to the equations you have.
参考
カテゴリ
Help Center および File Exchange で Heat and Mass Transfer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!