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!