Question: Create a script file that will do the following: 1. Create a 1 x 3 cell array called sample_cell to store the following individual arrays:

Create a script file that will do the following:

1. Create a 1 x 3 cell array called sample_cell to store the following individual arrays:

A =

1 3 5
3 9 2
11 8 2

B =

Fred Ralph
Ken Susan

C =

4
6
3
1

2. Extract the information in array C, row 2, from sample_cell and store this value in variable d

3. Extract vector [11 8] from array A in sample_cell and store this vector in variable e

4. Extract the letter d from name fred in sample_cell and store this character in variable f

Hint: array B can be made as a cell array.

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!