adplus-dvertising
frame-decoration

Question

What is the output of the following code?
A={1 2 3 4}
sum(A)

a.

Error

b.

10

c.

{ 10 }

d.

Logical Error

Posted under MATLAB

Answer: (a).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?