matlab compabibility
matlab compat