non decreasing or decreasing trend

Dear All,
I have data of non decreasing and decreasing trend, Is there any matlab function to understand non decreasing and decreasing trend from the data
8019
8019
8019
8020
8020
8020
8020
8021
8021
8021
8021
8021
8021
8022
8022
8022
8023
8023
8019
8019
8019
8020
8020
8020
8020
8021
8021
8021
8021
8021
8021
8022
8022
8022
8023
8023
Many Thanks in advance
SM

1 Comment

Can I suggest that you try to describe what you are trying to do with a LOT more detail? It is too difficult to guess what you mean by "understand non decreasing and decreasing trend."

Sign in to comment.

Answers (1)

Matt J
Matt J on 31 Oct 2012
The DIFF command may help.

Asked:

on 31 Oct 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!