First step written on matlab