% example file to demonstrate how to use the 'F_simulate_2ndorder' function % to get sampled output of an unknown second order plant driven by a % specified sampld input % % EML 4930 - Fall 2008 % Prabir Barooah clear all T= 1e-3; time = [0:T:20]'; u_signal = 0.2*sin(2*pi*60*time)+0.2*sin(2*pi*75*time)+0.2*sin(2*pi*100*time)+0.2*sin(2*pi*120*time); y_meas = F_simulate_2ndorder(T,u_signal);