syms behaving differently in terminal and script.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
When I try to run this as a script the following message is displayed while if I run the same command in the terminal I get my desired value x(0) = a0. I don't understand where am I going wrong?
syms t a0 a1 a2 a3
x(t) = a0 + a1*t + a2*t^2 + a3*t^3;
xdot(t) = a1 + 2*a2*t + 3*a3*t^2;
x(0)= 1;

Antworten (1)
madhan ravi
am 3 Mär. 2019
x(0)%=1
Diese Frage ist geschlossen.
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!