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


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
What is Derivative Sign change point in a vector?
Replies:
1
Last Post:
Dec 2, 2012 11:17 AM



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


