Question: using matlab. Write a function M-file, which evaluates whether to issue a driver's license, based on the applicant's age using the logical function find. Note
using matlab.
Write a function M-file, which evaluates whether to issue a driver's license, based on the applicant's age using the logical function find. Note that no license is given to people younger than 16, youth license may be given to people younger than 18, standard license is given to people at ages between 18 and 70, and a special license is given to people older than 70. Your function should accept a single input argument, which is a vector composed of ages of applicants. Your program should display messages for each applicant such as: Sorry-You will have to wait. You are only 16. You may have a youth license because you are 17
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
