integration of double array in a given time period

1 view (last 30 days)
I have a data as velocity signal as let's say v = double([7 8 5 4 5 6 7 0 9]) and I have another vector which represents time signal as t = double([1 2 3 4 5 6 7 8 9]), Is there a way to find position by integrating v in the given time period of t in Matlab without simulation? Currently, I am using: y = integrator (v,t); but it does not give a correct signal! it just returns scalar

Accepted Answer

Walter Roberson
Walter Roberson on 12 Jun 2017
I am not sure what you mean by "without simulation" ?
Have you considered cumtrapz ?

More Answers (0)

Categories

Find more on Programming 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!