Demonstration of modified Rosin-Rammler distribution functions
Modified Rosin-Rammler distribution
Y = 1-EXP(-(Ln(X)/Ln(D))^q)
The distribution is described in terms of 2 parameters, D and q:
- D is a representative diameter, commonly chosen such that 63.2% the
total volume is contained in particles smaller than D. - The exponent q provides a measure of the spread of drop sizes. The
higher the value of q, the more uniform the spray. If q is
infinite the drops in the spray are all the same size. For typical
sprays, the value of q is between 1.5 and 4.
Contents
mRosinRammlerCDF
x = (5:.1:50);
hCDF = figure;
plot(mRosinRammlerCDF(x,4,10));
title('Modified Rosin-Rammler: CDF');
mRosinRammlerPDF
hPDF = figure;
plot(mRosinRammlerPDF(x,4,10));
title('Modified Rosin-Rammler: PDF');
mRosinRammlerFit
xdata = (5:.1:50)';
X = xdata + 2 .* randn(size(xdata));
q = 4;
D = 10;
ydata = (exp(-((log(X)./log(D)).^q))...
.* q...
.* ((log(X)./log(D)).^q))...
.* (1./(X .* log(X)));
[estimates, model] = mRosinRammlerFit(xdata,ydata)
hFitMRR = figure;
plot(xdata, ydata, '*')
hold on
[sse, FittedCurve] = model(estimates);
plot(xdata, FittedCurve, 'r')
xlabel('xdata')
ylabel('f(estimates,xdata)')
title('Modified Rosin-Rammler: fit to random data');
legend('data', ['fit using ', func2str(model)])
hold off
estimates =
3.9982 10.5279
model =
@mRosinRammlerFit/mRosinRammlerFun
mRosinRammlerSMD
smd = mRosinRammlerSMD(X,estimates(1),estimates(2))
smd =
18.6089
Author's Comments