From: Pete on 24 Mar 2010 17:59 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?
From: Walter Roberson on 24 Mar 2010 18:16 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().
From: us on 24 Mar 2010 18:24 "Pete " <peterclark(a)hotmail.com> wrote in message <hoe1v8$cqb$1(a)fred.mathworks.com>... > 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'? yes, a possible solution... > do i need to plot the graph first? no... us
From: Pete on 24 Mar 2010 18:25 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()?
From: Walter Roberson on 24 Mar 2010 19:03 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.
|
Next
|
Last
Pages: 1 2 Prev: MATLAB won't render tilde (~) Next: Compilers for 64-bit MATLAB r2008a |