December 2002
Intermediate to advanced
800 pages
18h 7m
English

% use PRBS to estimate a discrete model of the vdv reactor % T = 0:0.25:5; % time vector (row) T = T'; % time vector (column) seed = [3;0.5]; % seed for noise generation randn('state',seed); % using the same seed each time uu = 0.5 1 0.25*randn(length(T),1); % mean of 0.5 with variance % of 0.25 U = 2*round(uu)-1; % creates PRBS with -1 and 1 values % sim('est_vdv'); % runs simulation of linear van de vusse % diagram figure(1); % plot input-output data subplot(2,1,1),plot(tp,yp,'k',t,y,'ko'); xlabel('time, min'), ylabel('y') title('PRBS estimation example') ...Read now
Unlock full access