Question: MATLAB function basic, display EWNS 3 Similar as previous problems, but comprehensive Write a function named myFunction(N,C), where input Nis an odd integer no less

MATLAB
function basic, display EWNS 3 Similar as previous problems, but comprehensive Write a function named myFunction(N,C), where input Nis an odd integer no less than 5, and input c is a charactor among 'E' 'W' 'N''S' return similar pattern as in the previous problems, use switch to control which to return, and otherwise" to throw an error for wrong input For example (7,'S') should give 88 88 88 88 88 88 88 88 0 0 0 0 0 0 88 0 0 0 0 0 0 88 88 88 88 88 88 88 0 0 0 0 0 0 88 0 0 0 0 0 0 88 88 88 88 88 88 88 88
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
