Finding of Previous Values From Derivatives

1 view (last 30 days)
Hi everybody. I have derivative values of any data which calculated by mathematical equations and i want to find the previous values from derivatives. How can i get these values?
Thanks
Qnun_turevi_volkan=[1,5 4,71 7,86 11,01 14,15] %derivatives of Q values dQ/dteta
teta=[0 0,01 0,02 0,03 0,04]
  2 Comments
Sean de Wolski
Sean de Wolski on 31 Dec 2015
What kind of difference is it? And do you have the constant value to add to the derivative?
Volkan Yangin
Volkan Yangin on 31 Dec 2015
Derivative matrix have 1 missing values from the original matrix. I have no constant value. This derivative matrix (Qnun_turevi_volkan) is like a matrix which calculated by diff command.

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 31 Dec 2015
cumsum(Qnun_turevi_volkan) + c

Categories

Find more on Creating and Concatenating Matrices 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!