Page 1 of 1

How do I calculate the percentage of positive slope, negative slope, and zero slope for my data in Matlab? My function h

Posted: Wed Jul 06, 2022 10:15 am
by answerhappygod
How do I calculate the percentage of positive slope, negativeslope, and zero slope for my data in Matlab?
My function has the variables T and X, and I would like tocalculate the proportions of different signs of the slope and thetime there are in that state total. For example, how long overallwas did the time series have a positive, negative, and zeroslope? Also, could you calculate the lengths of the X variable aswell?