MATLAB Implementation for Box-Counting Dimension Calculation
MATLAB program for computing box-counting dimension. This implementation follows the box-counting principle to calculate the fractal dimension of 1D curves. The function FractalDim(y, cellmax) takes a 1D signal as input and returns its box-counting dimension using scalable grid analysis with configurable maximum cell size.