adplus-dvertising
frame-decoration

Question

What is the output of the following code?
 >> { 1 2}
 ans = 
   1*2 cell array
     [1]   [2]
>> ans+{3 4}

a.

{ 1 2 3 4}

b.

{ 1 2
3 4}

c.

{ 4 6}

d.

Error

Posted under MATLAB

Answer: (d).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?