pietro
Posts:
374
Registered:
1/3/09


Re: How to integrate discrete function?
Posted:
Dec 4, 2012 3:07 PM


"Sanaa" wrote in message <k9lhqk$ai2$1@newscl01ah.mathworks.com>... > Hello, > I want to integrate the discrete function a*x_n*(1x_n) from nr to t (take r=0.005) > where a:0:0.001:4 and n=0,1,2,3,...., and t\in[nr,(n+1) r] > Any idea please? > Thanks a lot.
use cumtrapz

