Question: Problem a b c were solved, please provide answer for (d) (e) (f) (g) (h) (i) Problem 3. You are to create a cell array

 Problem a b c were solved, please provide answer for (d)

Problem a b c were solved, please provide answer for (d) (e) (f) (g) (h) (i)

Problem 3. You are to create a cell array called cellar that contains the followng. [sin] [[0][2x][m/1001] [0 1 1 0] [cos] [F][][m/15]] [0 0 0 1] [tan] [[- / 2.2][m / 2.2][m/201] [0 1 1 0] [atan] [-101[100.2 10] [acot] [-3J[sj[O.05) [010 1] [exp] [[-5][10jo.1] [1 10 1] [log] [[0.1][8.5][0.5] [0 0 11] Each row of the cell aray cellar should have the following structure [function name] [[min][max ][stepl] [vector] The first cell of each row contains a string representation of a MATLAB build-in fiunction; the second cell stores three sub-cells, containing mumerical values which specify the beginning of an interval, the end of an interval, and the interval discretization size, respectively, the third cell contains a logical row vector (a) Create the cell array cellar descibed above. Without assuming (b) write an expression that refers to the string contained in the first cell of the fouth row of the mumber of rows of the cell array cellar the cell array (c) write an expression that refers to the discretization step size contained in the third sub- cell of the second cell of the last row of the cell array (d) by looping through the rows of the cell aray, delete the second element from the logical (e) swap the third cell in the first row with the third cell in the second row of the cell array. (ft swap the fifth and sixth rows of the cell array (g assign to variable x a row vector of regularly spaced values from min to max using step as row vector contained in the third cell of each row the increment between elements, where min, max, and step are values obtained from the corresponding sub-cells of the second cell of the seventh row of the cell array plot the function specified by the string stored in the first cell of the seventh row of the cell aray versus vector x that was generated in part (g) by looping through the rows of the cell array, plot each function (in a separate figure window) whose name is given as a string in the first cell of the coresponding row. Each fumction should be plotted over the interval specified by the values min and max contained in the first two sub-cells of the second cell of the corresponding row. Use the value step contained in the third sub-cell as the step size. (In other words, repeat part (h) Problem 3. You are to create a cell array called cellar that contains the followng. [sin] [[0][2x][m/1001] [0 1 1 0] [cos] [F][][m/15]] [0 0 0 1] [tan] [[- / 2.2][m / 2.2][m/201] [0 1 1 0] [atan] [-101[100.2 10] [acot] [-3J[sj[O.05) [010 1] [exp] [[-5][10jo.1] [1 10 1] [log] [[0.1][8.5][0.5] [0 0 11] Each row of the cell aray cellar should have the following structure [function name] [[min][max ][stepl] [vector] The first cell of each row contains a string representation of a MATLAB build-in fiunction; the second cell stores three sub-cells, containing mumerical values which specify the beginning of an interval, the end of an interval, and the interval discretization size, respectively, the third cell contains a logical row vector (a) Create the cell array cellar descibed above. Without assuming (b) write an expression that refers to the string contained in the first cell of the fouth row of the mumber of rows of the cell array cellar the cell array (c) write an expression that refers to the discretization step size contained in the third sub- cell of the second cell of the last row of the cell array (d) by looping through the rows of the cell aray, delete the second element from the logical (e) swap the third cell in the first row with the third cell in the second row of the cell array. (ft swap the fifth and sixth rows of the cell array (g assign to variable x a row vector of regularly spaced values from min to max using step as row vector contained in the third cell of each row the increment between elements, where min, max, and step are values obtained from the corresponding sub-cells of the second cell of the seventh row of the cell array plot the function specified by the string stored in the first cell of the seventh row of the cell aray versus vector x that was generated in part (g) by looping through the rows of the cell array, plot each function (in a separate figure window) whose name is given as a string in the first cell of the coresponding row. Each fumction should be plotted over the interval specified by the values min and max contained in the first two sub-cells of the second cell of the corresponding row. Use the value step contained in the third sub-cell as the step size. (In other words, repeat part (h)

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!