Gistlib Logo

gistlib

auton akun kesto eksponnenttijakautunut keskiarvolla 14200 km, millä todennäköisyydellä uusi akku kestää 16500 km in matlab

main.m
mean = 14200;
mu = mean;
sigma = 2500; % standard deviation
x = 16500;
p = 1 - exp(-(x - mu)^2 / (2*sigma^2));
disp(p);
120 chars
7 lines

similar matlab code snippets

how to calculate the normal distribution in matlab
how to calculate the chi-square distribution in matlab
how to calculate the lognormal distribution in matlab
how to calculate the exponential distribution in matlab
how to calculate cumulative distribution function in matlab
how to calculate the gamma distribution in matlab
how to calculate the t distribution in matlab
how to calculate the poisson distribution in matlab
how to calculate normal distribution in matlab
how to calculate the binomial distribution in matlab

related categories

matlab
probability
statistics

gistlibby LogSnag