EX_TRANSMAT Example transition probability matrix definition.
0001 function transmat = ex_transmat(nt) 0002 %EX_TRANSMAT Example transition probability matrix definition. 0003 0004 % MOST 0005 % Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC) 0006 % by Ray Zimmerman, PSERC Cornell 0007 % 0008 % This file is part of MOST. 0009 % Covered by the 3-clause BSD License (see LICENSE file for details). 0010 % See http://www.pserc.cornell.edu/matpower/ for more info. 0011 0012 transmat = cell(1, nt); 0013 T = [ 0.158655253931457; 0.682689492137086; 0.158655253931457 ]; 0014 [transmat{:}] = deal(T * ones(1,3)); 0015 transmat{1} = T;