Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Homework Help Please

Asked by anon on 27 Mar 2013

I have no idea how to do this one.

http://imgur.com/zX3xk5F

Please show all working code. Any help will be appreciated.

anon

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst on 27 Mar 2013

Define the arrays like

t = 0:10;
v = [40, 42, 45, and so on....

then use Simpson's rule as you learned in class to calculate the distance traveled in each time period and sum them. It may be easiest for you to use a for loop.

0 Comments

Image Analyst

Contact us