Question: please use Matlab My So function basic, display EWNS 3 Similar as previous problems, but comprehensive Write a function named myFunction(N.C), where input Nis an

 please use Matlab My So function basic, display EWNS 3 Similar

as previous problems, but comprehensive Write a function named myFunction(N.C), where input

please use Matlab

My So 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 I 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 088 0 0 0 0 0 088 88 88 88 88 88 88 88 Code to call your function C Rese 1 % try run with different combinations to make sure your codes cover all the possible situations 2 myFunction(7,'S')

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!