How I can produce the double differentiation of digital signal data without knowing the function?

조회 수: 3 (최근 30일)
Hello all,
I have 5120 displacement data points. I want to double differentiate the data points to get the acceleration.
Example of my data points:x = [0 0.002 0.0039 0.0059 0.0078 0.0098 0.0117]; time(s) y = [-0.5570 0.1310 0.4010 0.0722 -0.5210 -0.8090 -0.7230]; displacement (m/s)
How I can produce the double differentiation of digital signal data without knowing the function?
Please help me!
Please advice.
Thank you for your time.
Regards, SMY

채택된 답변

Star Strider
Star Strider 2016년 7월 8일
The del2 function can do this, but you have to be careful. Differentiation significantly amplifies noise.
  댓글 수: 22
SMY
SMY 2016년 7월 20일
&#1I have a good news to share with you which I already solved the problem. I used a wrong variable previously that’s why I cannot achieved the target that I want to.From here I learned something. Every coding need to check line by line carefully and never underestimate anything. Because coding is so sensitive things. :D &#1
&#1 Thank a lot Star for your time, your kindness. I really appreciated. Talking to people can give a lot benefits.
Star Strider
Star Strider 2016년 7월 20일
As always, my pleasure!
I’m glad you got it sorted!
‘Every coding need to check line by line carefully and never underestimate anything.’
I could not possibly have said it better! It brings to mind a poem posted on the Stanford University Computer Bulletin Board in the late 1970s:
I really hate this damned machine,
I wish that they would sell it!
It won’t do what I want it to,
But only what I tell it!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by