Preserve coordinate pairs when reordering

A cart's measurements were entered in the following storage order. Time is in seconds and displacement is in metres:


MATLAB
t = [0 3 1 2];
d = [0 9 1 4];
plot(t,d,'-o')


The graph's connecting line doubles back horizontally. Which replacement command both preserves every measured time-displacement pair and connects the samples in increasing time order?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Two Dimensional Plots Questions: