Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to differentiate dampened cycling data and constant cycling data in Matlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!