<< pwp Indirect Influences for Graphs smb >>

Indirect Influences for Graphs >> Indirect Influences for Graphs > pwpIndInf

<<<<<<< HEAD

pwpIndInf

Returns the vectors of indirect influences and indirect dependences and the matrix of indirect influences according with the PWP method.

=======

pwpIndInf

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.

>>>>>>> 9cdc00341c99001d3b7f1804e63c895f3615cb3b

Calling Sequence

[T,d,f] = pwpIndInf(D,lambda)
[T,d,f] = pwpIndInf(D,lambda,time)

Parameters

time:

Value for the time parameter desired in case of polynomial matrix. Is mandatory in such case.

lambda:

Value of the parameter for the PWP method, look the bibliography.

D:

Matrix of direct influences.

f:

Name of the variable to store the indirect influences vector.

d:

Name of the variable to store the indirect dependences vector.

T:

Name of the variable to store the indirect influences matrix.

Description

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.

Examples

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)

See also

Authors

Bibliography

Indirect Influences, Rafael Díaz. preprint http://arxiv.org/abs/0906.1610v1

Cálculo de Influencias Indirectas en Scilab. Rafael Díaz, Jorge Catumba.

<< pwp Indirect Influences for Graphs smb >>