One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix and find the average speed of the pitches. x is in miles per hour.
x = [100, 98, 95, 103, 84, 98, 87, 105, 95, 98]
The test suite is lacking (and wrong).
Fixed the first test and added a second one.
Check if sorted
07 - Common functions and indexing 3
Find maximum value of a curve
Vectors counting by 2
Matlab Basics II - Max & Index of Max
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office