My early matlab script