Question: MATLAB question Write a function namedept that will receive a name and department as separate strings, and will create and return a code consisting of
MATLAB question

Write a function namedept that will receive a name and department as separate strings, 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 uppercase 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
