Plot the functions x(t), vx(t) and ax(t) in same graph and check qualitatively the mathematical relationship between three functions
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
DGM
2021-8-14
t = linspace(0,1,100);
x = -t.^2;
v = -2*t;
a = -2*t.^0;
h = plot(t,x,'b',t,v,'r',t,a,'m');
legend(h,{'x','v','a'})
3 个评论
Walter Roberson
2021-8-14
"qualitatively" means that you describe the relationship. It is not a mathematical measure. Mathematical measures are "quantitative" not "qualitative"
DGM
2021-8-14
I don't know if the assignment actually is asking for a written answer, but I'll assume it does. If it doesn't, just think about it like this.
What is the conceptual significance of the data in these vectors; in other words, what does it represent? What visually discernable qualities do you expect the plots to reveal? Do the plots look like you expect? Describe why they do or don't.
Think about:
physical relationships -> calculus concepts -> polynomial orders -> basic shape
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!