Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


m
Posts:
2
Registered:
12/2/12


What is Derivative Sign change point in a vector?
Posted:
Dec 2, 2012 11:07 AM


I think this example is a simple way to find derivative sign change point in a vector: A=[1 2 3 4 5 4 3 2 1]; dA=diff(A); z = and((dA>0), circshift(dA<0, [1 1])); z(1) = 0; peak=find(z)+1


Date

Subject

Author

12/2/12


m

12/2/12


dpb


