Need help understanding error PLEASE
1 次查看(过去 30 天)
显示 更早的评论
回答(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!