Matlab's linspace(x,y) command is used to creat even intervals for matlab plotting.