% Catie Chang % drawsigma.m - graph of gaussian env % sigmasq = str2num(get(gcbo,''String'')); % set(sigmatextbox,''Value'',sigmasq); % redraws the gaussian envelope when sigma is adjusted % see playshepard.m x = -10:.01:10; G = exp((-1/2*sigmasq)*x.^2); subplot(3,1,1); plot(x,G); title('Envelope');