Artifact b2a01fdb41327eb0a776e52b03098f862191d3cfcef72c83034bd8d314df9f0a:
- File mtt/lib/control/PPP/ppp_RT_sim.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 405) [annotate] [blame] [check-ins using] [more...]
- File mttroot/mtt/lib/control/PPP/ppp_RT_sim.m — part of check-in [f13b092674] at 2002-05-02 16:10:39 on branch origin/master — Preliminary working version - ok with rc_PPP (user: gawthrop@users.sourceforge.net, size: 405) [annotate] [blame] [check-ins using]
function [y,u] = ppp_RT_sim (U) ## usage: [y,u] = ppp_RT_sim (U) ## ## U PPP weight (column vector) global system_name_sim i_ppp_sim x_0_sim y_sim u_sim A_u_sim ## Data from previous time - last point not used if length(y_sim)>0 # Avoid initial junk [n_t_old,junk] = size(y_sim); y = y_sim(1:n_t_old-1,:); u = u_sim(1:n_t_old-1,:); else y=[]; u=[]; endif endfunction