Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute MATLAB/Octave Online

v=zeros(1000);
lambda=10;
suma=0;
suma2=0;
int=1000;
for i=1:int
    v(i)=GenExp(lambda);
    suma=suma+v(i);
    suma2=suma2+(v(i)-0.1)^2;
end
plot(v,'*');

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.