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

using MATLAB
using MATLAB 8) Write a function that will receive a name and

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!