Dear all,
I used the following code to plot the angle over time:
figurehold ongrid onplot(Time, theta,'linewidth',1.5)xlabel('Time [s]','FontWeight','bold')ylabel('\theta [deg]','FontWeight','bold')xlim([0 round(Time(end))])legend('Opening angle','Location','northeast')title('Opening angle')
The resulting graph is shown below. I want to index at what time the slope is decreasing. How can I do that?
The variables Time and theta to plot this graph can be found in the data.mat file.
Best Answer