Diferent answers to same cmd
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am trying to figure out Matlab. Tried the cmd shown in the attachment, get different response(see attachment)
5 comentarios
Respuesta aceptada
Ken
el 21 de Feb. de 2025
1 comentario
Sam Chak
el 21 de Feb. de 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
Más respuestas (1)
Walter Roberson
el 20 de Feb. de 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 comentarios
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!