MATLAB: Simple plotting in matlab

plotting

x=1:1:30 h=70 y=h/x
i understand they are unequal in length but how would i plot it dividing 70 by x one at a time to plot

Best Answer

x=1:1:30
h=70
y=h./x
plot(x,y)