function twoplot(t,y) subplot(2,1,1); plot(t,y(:,1)); xlabel('TIME (SECONDS)'); ylabel('Y_1(t) (METERS)'); grid on; subplot(2,1,2); plot(t,y(:,2)); xlabel('TIME (SECONDS)'); ylabel('Y_2(t) (METERS)'); grid on;