x 軸と y 軸を使用して、例として MATLAB で次のデータを作成しました。
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 での正味の軌跡) をプロットするにはどうすればよいですか?