Enter Sand and Clay Content/fractions and get
- the soil classification. So far only USDA soil classification implemented.
- soil classification triangle
Please note that the figure created is still under testing.
Holger Hoffmann (2020). soil_classification(sand, clay, T,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/45468-soil_classification-sand-clay-t-varargin), MATLAB Central File Exchange. Retrieved .
Can I use the code in Matlab?
The code here is really neat and concise, however one thing I would reccomend is editing the graph such that the triangle is equilateral as a true soil-texture triangle would be. Additionally, putting in grid lines and labels would be helpful for those that would want to see the percentages of each material (silt, sand, clay).
Sandy Loam refined