Robuta

https://ch.mathworks.com/matlabcentral/fileexchange/58850-base2base-nstart-bstart-bend?s_tid=srchtitle base2base(Nstart,bstart,bend) - File Exchange - MATLAB Central Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes file exchangenstartbendmatlabcentral