Textbooks.elsevier.com - tools for all your teaching needs.

4) Create a 1 x 6 vector of random integers, each in the range from 1 to 20. Use built-in functions to find the minimum and maximum values in the vector. Also create a vector of cumulative sums using . cumsum. Ch5Ex4.m % Create a random vector and use built-in functions % to find the minimum, maximum, and cumulative sums. vec = randi([1,20], 1 ... ................
................