Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to differentiate dampened cycling data and constant cycling data in Matlab?

1 Ansicht (letzte 30 Tage)
JING JIAO
JING JIAO am 11 Sep. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have a group of data, which I want to see if it gradually dampens.
Here are four vector examples to explain what I mean:
a=[4,5,3,4,5,3,4,5,3];
b=[5,4,3,4,3,2,3,2,1];
c=[5,5,5,4,4,4,3,3,3];
d=[5,4,3,2,1,0,-1,-2];
a) is periodic data with cycles at the same size, while all others (b,c,d) gradually dampened.
My question here, how can I differentiate the dampened data?
Here is what I tried but still did not get right answer:
d=diff(a);
s=sign(d);
I am not sure what is the next step to do? I could be in a wrong direction.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by