Query about variation of two signals in time domain (MATLAB)

1 view (last 30 days)
I have the following two signals in matlab.
I want to know which signal is varying slowly and which is varying fast.
I have also plotted the graphs of these signals in MATLAB.

Answers (1)

Mathieu NOE
Mathieu NOE on 30 Oct 2020
hi
you can simply compare the average abs value of the slope (using diff)
so average_abs_slope = mean(abs(diff(x)))

Community Treasure Hunt

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

Start Hunting!