Clear Filters
Clear Filters

How to find an area under a curve within Simulink

1 view (last 30 days)
Hi guys, I've devloped a rough motorcycle model and have produced a RPM vs Time graph as seen in the images. Can someone please tell me the most straight forward way to find the area under the curve in the graph. Just from looking at it i've estimated the value to be around 20,000,000m^2 but any integration methods i've trialled arent giving me anything clos to that answer.
Cheers, Ollie.
  2 Comments
Fangjun Jiang
Fangjun Jiang on 12 May 2021
around 20,000,000? How come? I see roughly 4000*6.7=26800
oliver shelley
oliver shelley on 12 May 2021
Well that's embarrasing! I've mis-read the graph I'm using. This now makes my integration techniques correct. Sorry for wasting anyones time.

Sign in to comment.

Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!