1The code runs in the MatLab 7 programming environment.