Question: Which statement is not true about array manipulation? B = A means copying B into A. Reshape() means changing the dimensions. Reshape() can be done

  1. Which statement is not true about array manipulation?
    1. B = A means copying B into A.
    2. Reshape() means changing the dimensions.
    3. Reshape() can be done with the different dimensions.
    4. Logical arrays real values are 0 and 1.
  2. When M is a 3-D array, a 2x2x2 matrix, flipdim(M,1) is equivalent to
    1. fliplr(M)
    2. flipud(M)
    3. rot90(M)
    4. circshift(M,2)
  1. Cell Arrays
  1. Must have the same contents.
  2. Are identified by their names.
  3. Show their contents when typed in the MATLAB command window.
  4. Use cell( ) function to create a cell array.
  1. A(i,j) = {x}; % this command indicates

(a) Cell Indexing

(b) Content Addressing

(c) Cell Functioning

(d) Cell Arrangement

  1. B = { [1,2], John Smith; 2+3i, 5};

What does x=B{2,2} do when entered in the MATLAB command window?

  1. x = cell
  2. x = 5
  3. x = [5]
  4. x = double
  1. Assuming that B remains the same as the problem 3, what does d=B{:,2} do, when typed in the MATLAB command window?
  1. d = John Smith
  2. d = John Smith

5

  1. d = 5
  2. d = 1 2

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!