adplus-dvertising
frame-decoration

Question

What is the output of the following code?
stem([0:1:1],zero(1,2))

a.

An empty graph extending from 0 to 1 unit in x axis and 0 to 2 in the y axis

b.

An empty graph extending from 0 to 1 unit in y axis and 0 to 2 in the x axis

c.

Syntactical Error

d.

Error in zero command

Posted under MATLAB

Answer: (d).Error in zero command

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?