reinstated Matlab definition removed by mistake