switching to matlab