MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
I have no idea how to do this one.
Please show all working code. Any help will be appreciated.
Direct link to this comment:
You may want to read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
No products are associated with this question.
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.
Direct link to this answer: