PDF and CDF plot for central limit theorem using Matlab
问题 I am struggling to plot the PDF and CDF graphs of where Sn=X1+X2+X3+....+Xn using central limit theorem where n = 1; 2; 3; 4; 5; 10; 20; 40 I am taking Xi to be a uniform continuous random variable for values between (0,3). Here is what i have done so far - close all %different sizes of input X %N=[1 5 10 50]; N = [1 2 3 4 5 10 20 40]; %interval (1,6) for random variables a=0; b=3; %to store sum of differnet sizes of input for i=1:length(N) %generates uniform random numbers in the interval X