MATLAB & Simulink for Dynamic System Analysis & Control

by

 

19 Dec 2007 (Updated )

An instruction package for Control Toolbox, Simulink and SimMechanics in Mech. Eng. Control Course

Projectile_AirRes_init.m
m=1;
g=10;
b=0.01;
x0=0;
y0=0;
v=100;
alpha=30;
vx0=v*cosd(alpha);
vy0=v*sind(alpha);

Contact us