Home > matpower7.1 > most > lib > t > ex_transmat.m

ex_transmat

PURPOSE ^

EX_TRANSMAT Example transition probability matrix definition.

SYNOPSIS ^

function transmat = ex_transmat(nt)

DESCRIPTION ^

EX_TRANSMAT  Example transition probability matrix definition.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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 https://github.com/MATPOWER/most 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;

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005