MATLAB Question:
Extracted text: 3. Write a function called e2 age range that computes how many people fall within a certain age range. The first input, A, is a matrix of non-negative integers specifying the ages of a group of people. The second input, called min_age, is the age the included people must be older than. The third, max age, is the age the included people cannot be older than. The function returns the number of people that fall into the specified range. You are not allowed to use loops. Here are some example runs: >> e2_age_ range ([12 8 22 18 17 3 4 33],0,17) ans = >> e2_age_range (1:100,90,100) ans = 10 >> e2_age_range ([1 3 5 7 9],5,6) ans %3D
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here