Diferent answers to same cmd
2 views (last 30 days)
Show older comments
I am trying to figure out Matlab. Tried the cmd shown in the attachment, get different response(see attachment)
5 Comments
Accepted Answer
Ken
on 21 Feb 2025
1 Comment
Sam Chak
on 21 Feb 2025
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
More Answers (1)
Walter Roberson
on 20 Feb 2025
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 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!