Let the array a be declared as a = [ 1, 2; 2, 3]. Consider the definition of another array d as, d = zeros(size(a)) + 2. What will be the values in d? Select one: a. [ 2, 0 ; 0 , 0] b. [ 2, 2 ; 2 , 2] c. [ 2, 2 ; 0 , 0] d. [ 2, 0 ; 2 , 0]

2 views (last 30 days)
Let the array a be declared as a = [ 1, 2; 2, 3]. Consider the definition of another array d as, d = zeros(size(a)) + 2. What will be the values in d? Select one: a. [ 2, 0 ; 0 , 0] b. [ 2, 2 ; 2 , 2] c. [ 2, 2 ; 0 , 0] d. [ 2, 0 ; 2 , 0]
  1 Comment
Image Analyst
Image Analyst on 20 May 2014
I still don't understand why you're asking us instead of just doing it yourself. Why? Why? Why? Do you think you'll learn it better if you don't do it yourself?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 20 May 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.

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!