Matlab, Engineering, Data Analysis, Python, Visualization.
plot(t1.Time_s, t1.Veh_Spd, '-b') xlim([0, 1200]) ylim([0, 100]) ylabel('Vehicle speed [km/h]') hold on time_start1 = t1.Time_s(min(find( t1.Veh_Spd > 20))); time_end1 = t1.Time_s(max(find(t1.Veh_Spd > 20))); t_elap_1 = time_end1 - time_start1; plot([[time_start1 time_end1]; [time_start1 time_end1]