From: Mustapha on
Hello ;

i want to do a numerical integration of a signal. The latter is a raw data (not an explicit function like f(t) = t^2).
The point is that I need a vector as output and not only one value .

In other words, I have a signal as input , and I should have a signal as output.

Do you have something to help


many thanks,


Best

M.
From: John D'Errico on
"Mustapha " <mustapha.alkharfane(a)gmail.com> wrote in message <hrooq7$b6v$1(a)fred.mathworks.com>...
> Hello ;
>
> i want to do a numerical integration of a signal. The latter is a raw data (not an explicit function like f(t) = t^2).
> The point is that I need a vector as output and not only one value .
>
> In other words, I have a signal as input , and I should have a signal as output.
>
> Do you have something to help

help cumtrapz

John
From: Mustapha on

> help cumtrapz
>
> John

Many thanks John ,

I already made a new script using the ode45 and ode113.
The cumtrapz gave alomst the same result


Thanks again


M.