Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET
Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET
Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Example of a Script File (continued)% Calculation section:dt = tf/500;% Create an array of 501 time values.t = [0:dt:tf];% Compute speed values.v = g*t;%% Output section:Plot(t,v),xlabel(’t (s)’),ylabel(’v m/s)’)1-39More? See pages 37-38.