08.07.2015 Views

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

SHOW MORE
SHOW LESS

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)% Program falling_speed.m:% Plots speed of a falling object.% Created on March 1, 2004 by W. Palm%% Input Variable:% tf = final time (in seconds)%% Output Variables:% t = array of times at which speed is% computed (in seconds)% v = array of speeds (meters/second)%1-37(continued …)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!