Need help understanding error PLEASE
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
0 Kommentare
Antworten (1)
Ameer Hamza
am 27 Apr. 2020
Bearbeitet: Ameer Hamza
am 27 Apr. 2020
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 Kommentare
Ameer Hamza
am 27 Apr. 2020
I do not clearly understand about your program logic. You need to analyze this according to the equations you have.
Siehe auch
Kategorien
Mehr zu Heat and Mass Transfer finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!