Diferent answers to same cmd
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to figure out Matlab. Tried the cmd shown in the attachment, get different response(see attachment)
5 Commenti
Risposta accettata
Ken
il 21 Feb 2025
1 Commento
Sam Chak
il 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
Più risposte (1)
Walter Roberson
il 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 Commenti
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!