Question: USE MATLAB Assign hasDigit with true (1) wherever passCode contains a digit Otherwise, assign hasDigit with false (0). If passCode is '1 2 Go!', then
USE MATLAB
Assign hasDigit with true (1) wherever passCode contains a digit Otherwise, assign hasDigit with false (0). If passCode is '1 2 Go!', then isDigit [true, false, true, false, false, false, false]. function hasDigit = FindDigit(passCode) hasDigit = 0; end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
