This preview shows page 1. Sign up to view the full content.
Unformatted text preview: v = w(1,:); y = w(2); % this value is not actually used % but it must be included in w for ode45 dv = g - Cd*v/m; dy = v; dw = [dv; dy]; % must be a column vector! end...
View Full Document
This note was uploaded on 03/22/2012 for the course ENGINEERIM 1000 taught by Professor Ee during the Spring '12 term at Vermont Tech.
- Spring '12