From: Pete on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hoe5nq$fml$2(a)canopus.cc.umanitoba.ca>...
> Pete wrote:
> > Walter Roberson <roberson(a)hushmail.com> wrote in message
> > <hoe2vh$c8b$1(a)canopus.cc.umanitoba.ca>...
> >> Pete wrote:
> >> > In my model i have found acceleration with respect to time. How do i
> >> > plot this on a graph and find the area under the curve?
> >> > Do i use 'trapz'? do i need to plot the graph first?
> >>
> >> You do not need to plot the graph first in order to use trapz().
> >
> > what block do i use in the library browser to use trapz()?
>
> Sorry, I didn't catch that you were using Simulink the first time through. I
> do not know how to use Simulink.
>
> When you post Simulink related questions, it is best to specifically mention
> Simulink; just mentioning "model" is not sufficient, as "model" has a number
> of different meanings.

There is an embedded matlab function block would this be sufficient to execute the trapz command?