function y=degrau(x)
% y=degrau(x), determines the step function

y= (x>0) + 0.5*(x==0);

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: