some important matlab scripts