What Kind of Features Can I Extract from a Signal I want to monitor (automatic-)gearbox failures on some vehicles. For each vehicle I have a captured signal representing the selected gear at each one millisecond. An example of two signals are shown on the figure bellow.

I would like to compute extract some features from each signal (and represent it as a feature vector) in order to compare a specific signal to other signals (compute its distance to other signals) and see if it is deviating from most of the other signals.

Do you have any idea on how to represent this type of signals as feature vectors ? Which kind of features can we extract from those ?
Some Features:

Mean.
Variance.
Skewness.
Kurtosis.
Dominant 3 frequencies in the DFT.
Energy of the 3 dominant frequencies.
Max Value.
Min Value.
Median.
Total Variation.

Usually I'd compute them in running windows.
Another great information is the Histogram of the Derivative.
Or just all the above of the Derivative.