x = -2:.01:2; %vector "x" What it does here is creating a vector whose minimum value is -2 and have numbers from -2 to 2 in spaces of 0.01 y = sin(1./x).*exp(-x.^2 ...