Question: Functions help you abstract away complex operation, but they also help you build reusable components. Create a MATLAB function that determines the complexity of a

Functions help you abstract away complex operation, but they also help you build reusable components. Create a MATLAB function that determines the complexity of a given password based on these rules: A very weak password contains only numbers and is fewer than eight characters. A very weak password contains only letters and is fewer than eight characters. A weak password contains letters and at least one number and is fewer than eight characters. A strong password contains only numbers and is at least eight characters. A strong password contains letters and is at least eight characters. A very strong password contains letters and numbers and is at least eight characters. Create a password validator function that takes in password as its argument and returns a string specifying the password strength. the password '12345' is a very weak password the password 'adcd' is a very weak password the password 'adcd5' is a weak password the password 'adcdefgh' is a strong password the password '123456789' is a strong password the password 'abcdl23xyz' is a very strong password
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
