matthiasm@8: function engine = update_engine(engine, newCPDs) matthiasm@8: % UPDATE_ENGINE Update the engine to take into account the new parameters (kalman) matthiasm@8: % engine = update_engine(engine, newCPDs) matthiasm@8: matthiasm@8: engine.inf_engine = update_engine(engine.inf_engine, newCPDs); matthiasm@8: [engine.trans_mat, engine.trans_cov, engine.obs_mat, engine.obs_cov, engine.init_state, engine.init_cov] = ... matthiasm@8: dbn_to_lds(bnet_from_engine(engine)); matthiasm@8: matthiasm@8: