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

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

댓글 수: 3

I saw your question yesterday. I'm afraid I don't understand your question. The answer is d, but what are you asking?
dear yao thanks for ur concern it is quiz question
Are you being graded on it? Graded on our answers?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 20일
편집: Image Analyst 2014년 5월 20일
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.
I mean, all you have to do is to paste these lines into an editor window:
a = [ 1, 2; 2, 3; 1, 2; 2, 3]
a( 2:3, 1:2)= 0
and you'll have your answer. Why make us do it for you when it is so trivially easy to do it yourself?

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2014년 5월 20일

편집:

2014년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by