Ex3_13 - x0 =[0.0 0.1[t x = ode23'dfunc3_13,tspan x0 plot(t...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% This program calculate forced response of an underdamped system % under harmonic base excitation. function Ex3_13 f t0 = 0; tf = 2; dt = 0.01; tspan = [t0: dt: tf];
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x0 = [0.0; 0.1]; [t, x] = ode23('dfunc3_13',tspan, x0); plot(t, x(:, 1)); xlabel('t'); ylabel('x(1)'); title('Rao Example 3.13'); t...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online