piirrä normaalijakauma arvoille: 2, 5, 6, 9, 11 in matlab
main.m
data = [2, 5, 6, 9, 11]; % Data pointsmu = mean(data); % Mean of datasigma = std(data); % Standard deviation of datax = mu - 3*sigma:0.01:mu + 3*sigma; % Range for x-axisy = normpdf(x, mu, sigma); % Normal distribution values for the rangeplot(x, y);
title('Normal Distribution');
xlabel('X');
ylabel('Probability Density');