% IAP 2007 Introduction to MATLAB: Basic Programming % Instructor: Violeta Ivanova, violeta@mit.edu % EXAMPLE 2 Script and Function M-Files %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Write a three-line MATLAB script that performs the same operations % and achieves the same results as the script in file plotscript.m % STEP 1: % STEP 2: % STEP 3: