Returns the vectors of indirect influences and indirect dependences and the matrix of indirect influences according with the PWP method.
Returns the scaled vectors of indirect influences and indirect dependences and the matrix of indirect influences according with the PWP method. Moreover, optionally plot de values of the indirect vectors.
[T,d,f] = pwpIndInf(D,lambda) [T,d,f] = pwpIndInf(D,lambda,time)
Value for the time parameter desired in case of polynomial matrix. Is mandatory in such case.
Value of the parameter for the PWP method, look the bibliography.
Matrix of direct influences.
Name of the variable to store the indirect influences vector.
Name of the variable to store the indirect dependences vector.
Name of the variable to store the indirect influences matrix.
This function gives the vector of indirect influences and dependences and the matrix of indirect influences of a given matrix of direct influences according with the PWP method. If the matrix of direct influences has polynomial entries the function needs the time parameter. For more info look the bibliography.
D = [1 0 1;0 0 0;0 0 6] // Define the matrix of direct influences. [T,d,f] = pwpIndInf(D,1) bar(d) bar(f) D = sparse([1,2;2,3;3,1;4,1],[1,2,4,1],[4,4]) // Define a sparse matrix [T,d,f] = pwpIndInf(D,1) bar(d) bar(f) t = poly(0,'t') // Define the variable t. D = [t 1-t;t^2 1] // Define a 2x2 matrix with polynomial entries. [T,d,f] = pwpIndInf(D,1,0) // Apply the pwpIndInf method to matrix D with time 0. bar(d) bar(f) [T,d,f] = pwpIndInf(D,1,1) // Apply the pwpIndInf method to matrix D with time 1. bar(d) bar(f) | ![]() | ![]() |
Indirect Influences, Rafael Díaz. preprint http://arxiv.org/abs/0906.1610v1
Cálculo de Influencias Indirectas en Scilab. Rafael Díaz, Jorge Catumba.