Question: using MATLAB 8) Write a function that will receive a name and department as separate character vectors and will create and return a code consisting
8) Write a function that will receive a name and department as separate character vectors and will create and return a code consisting of the first two letters of the name and the last two letters of the department. The code should be upper-case letters. For example, >> namedept ('Robert', 'Mechanical) ans = ROAL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
