Data for: CFLab: A MATLAB GUI program for decomposing sediment grain size distribution using Weibull functions
Description
Here we provide a flexible and efficient MATLAB® GUI (Graphic User Interface) program CFLab (Curve Fitting Lab) to perform curve fitting on sediment grain size distributions using Weibull Probability Distribution Functions. CFLab deals with one grain size distribution each time. It considers the curve fitting problem as a problem of constrained nonlinear programming. In CFLab, initial solution for this problem can be set either by designating a series of numbers for the undetermined parameters in the problem or using a novel interactive strategy. The trust-region-reflective algorithm is used to solve the problem. Major results generated by CFLab include the percentages and grain size distributions of subpopulations fitting the raw grain size distribution data and many statistic parameters of the subpopulations calculated using two methods. CFLab can be used to study a wide range of eolian and hydraulic sediments.