Question: c please 11) Use one MATLAB statement to generate each of the following vectors. Put all your responses into one script. a) Use floor to
11) Use one MATLAB statement to generate each of the following vectors. Put all your responses into one script. a) Use floor to generate (0,0,0,0,0,0,1,1,1,1,1,1,2,2, 2, 2, 2, 2.....20, 20, 20, 20, 20,20). b) Use mod or mod1 (see the Code Index)--to generate (1,2,3,4,5,6, 1,2,3,4,5,6,...,1,2,3,4,5,6) where the arithmetic sequence occurs 20 times. c) Use mod, or modi, and floor to generate (1.2,3,4,5,6, 2, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 8,...,20,21,22,23,24,25) by putting the previous two parts together
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
