matlab script.