【发布时间】:2014-04-13 07:54:00
【问题描述】:
我在 MATLAB 中创建了以下数据作为示例,使用 x 和 y 轴:
t = 1:5 % time in seconds
dxx = [10,8,6,5,4] % speed in x direction
w = trapz(t,dxx) % distance object in x direction (numerical integration)
dyy = [9,7,6,5,3] % speed in y direction
c = trapz(t,dyy) % distance of object in y direction (numerical integration)
如何仅使用这些数据绘制向量 dxx(t) 与 dyy(t)(时间 t 的净轨迹)?
【问题讨论】:
标签: matlab vector plot numerical-integration