The uniform shear model for non-neutral, atmospheric-boundary-layer turbulence by Chougule et al. (2018) [1] is here implemented in Matlab. The present implementation differs likely from the one used by ref. [1]. In particular, it relies on a more intuitive approach.