Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a(4,4)=0 results in Select one: a. An error, illegal index. b. a = [ 1, 2; 2, 3; 1, 2; 2, 3, 0, 0]. c. a = [ 1, 2, 0, 0; 2, 3, 0, 0; 1, 2, 0, 0; 2, 3, 0, 0]. d. No

1 Ansicht (letzte 30 Tage)
Let the array a be declared as a = [ 1, 2; 2, 3; 1, 2; 2, 3]. The assignment statement a(4,4)=0 results in
Select one:
a. An error, illegal index.
b. a = [ 1, 2; 2, 3; 1, 2; 2, 3, 0, 0].
c. a = [ 1, 2, 0, 0; 2, 3, 0, 0; 1, 2, 0, 0; 2, 3, 0, 0].
d. No change in the value of a

Antworten (1)

Image Analyst
Image Analyst am 20 Mai 2014
Just do it. Do it yourself in MATLAB and see what the answer is. No need to ask us to do your exam for you - MATLAB will do it for you.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by