You are on page 1of 1

for h=-2.5:1:3.

5
x=3
y=0
if x<h
y=0
end
if x<(h+1)& x>=h
y=y+1
end
end

You might also like