필터 지우기
필터 지우기

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

조회 수: 48 (최근 30일)
Hello all,
I have 512 acceleration data points. I want to integrate the data points to get the velocity and then the displacement data points by using Trapezium and Sympson's rules.
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]; acceleration (m/s2)
The problems happened when I looked around MATLAB code needs a function. By I dont.
Please advice.
Thank you for your time.
Regards, SMY

채택된 답변

Star Strider
Star Strider 2016년 6월 3일
Use the cumtrapz function with your vector. It does not need a function.
  댓글 수: 15
Star Strider
Star Strider 2016년 6월 6일
Congratulations!
Thank you for the links. I will look at them.
As always, my pleasure!
farzad
farzad 2020년 4월 16일
dear Star, how do we check that we have not eliminated any energy from the signal by filtering it ? and is CWT the best option to filter ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by