Question: use Matlab and solve 3.1 first to solve 3.2 Exercise 3.2. Modify bike_loop.m so that it clears the figure before running the loop. Then, each

use Matlab and solve 3.1 first to solve 3.2
Exercise 3.2. Modify bike_loop.m so that it clears the figure before running the loop. Then, each time through the loop, it should plot the value of b versus the value of i with a red circle. Once you get that working, modify it so it plots the values of c with blue diamonds. Exercise 3.1. Create a script named bike_loop.m that uses a for loop to run bike_update.m 30 times. Before you run it, you have to assign values to b and c. For this exercise, start with the values b 100 and c = 100. = If everything goes smoothly, your script will display a long stream of numbers on the screen. It's probably too long to fit, and even if it did fit, it would be hard to interpret. A graph would be much better! Exercise 3.2. Modify bike_loop.m so that it clears the figure before running the loop. Then, each time through the loop, it should plot the value of b versus the value of i with a red circle. Once you get that working, modify it so it plots the values of c with blue diamonds. Exercise 3.1. Create a script named bike_loop.m that uses a for loop to run bike_update.m 30 times. Before you run it, you have to assign values to b and c. For this exercise, start with the values b 100 and c = 100. = If everything goes smoothly, your script will display a long stream of numbers on the screen. It's probably too long to fit, and even if it did fit, it would be hard to interpret. A graph would be much better
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
