Diferent answers to same cmd
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to figure out Matlab. Tried the cmd shown in the attachment, get different response(see attachment)
댓글 수: 5
채택된 답변
Ken
2025년 2월 21일
댓글 수: 1
Sam Chak
2025년 2월 21일
Thank you for your response. One plausible explanation for the differing results is that your Aircraft Control Professor may have used functions from a decade-old version of MATLAB and the Control System Toolbox. Most professors I know do not frequently update their lecture slides. Therefore, if you are using more recent versions of MATLAB and the Control System Toolbox, you are likely obtaining different results.
The best approach would be to post the Control Problem Example from the lecture slides so that we can verify which result is correct or more accurate. In some rare cases, bugs can occur after MATLAB is updated.
- https://www.mathworks.com/matlabcentral/answers/2174027-simplify-does-not-work-with-all-argument
- https://www.mathworks.com/matlabcentral/answers/2170263-what-are-all-of-the-variables-in-the-workspace-on-answers
- https://www.mathworks.com/matlabcentral/answers/2154645-why-doesn-t-clear-all-clear-the-assumptions-from-the-symbolic-engine
추가 답변 (1개)
Walter Roberson
2025년 2월 20일
A=[-.01 .1 0 32.2;-0.4 -.8 180 0;0 -.003 -.5 0;0 0 1 0]
Your screen image shows you using -32.2 rather than 32.2
댓글 수: 4
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!