Use of filter when using cumtrapz

1 view (last 30 days)
Bran
Bran on 20 Jan 2015
Edited: Matt J on 24 Jan 2015
I have created a perfect sine wave which i am doing various calculations on however when it comes to integrating using cumtrapz I find myself having to use a filter on the data in order to obtain sensible results. I am wondering why do I see drift in my data as I have a near perfect wave? Also I am wondering about he effect of a filter. Does a filter take data that is oscillating around a particular value and center it around zero
  1 Comment
Matt J
Matt J on 24 Jan 2015
Edited: Matt J on 24 Jan 2015
To help you find bugs in your code, we have to see that code...

Sign in to comment.

Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!