Query about variation of two signals in time domain (MATLAB)
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Mathieu NOE
2020-10-30
hi
you can simply compare the average abs value of the slope (using diff)
so average_abs_slope = mean(abs(diff(x)))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!