1 MATLAB 7.11.0 (R2010b)
File Edit Debug Desktop Window Help
:qt5 n
9 I i* uf 1 © Current Folder:
C:\Users\slawek\Desktop\Lab\cw-05
Shortcuts .£] HowtoAdd .£] What's New
>> gauss = @(x , x0,sigma)
>> x1 = -1;
>> x2 = 11;
>> n = 1000;
>> b = 1:10 b =
12 3 4
>> fplot(@(x)gauss(x,b,1./b) >> set(gca,'YScale','log'); >> ylim( [0.001, 5]);
>> xlabel ' x ' ;
>> ylabel 'y ' ;
1./(sqrt(2*pi)*sigma) .* exp(-(x-x0).A2 ./ sigma.A2 / 2);
5 6
[xl,x2] , n) ;
Figurę 1
File Edit View Insert Tools Desktop Window Help
o
A
* Start