adplus-dvertising
frame-decoration

Question

What is the output of the following code?
sten([0:1:4],2*ones(1,5)]

a.

A discrete step function

b.

A discrete pulse function from 0 to 4 units in time

c.

A ramp function

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?