first, use the appropriate editor to create the following Octave scripts. (output, we can eliminate the extra semicolon at the end of the line and however, in order to explain the deliberately removed.

)

% cat pagerank.m
## />#! – PageRank GNU Octave (TM) is calculated with a simple

script

## set timer.
tic ();

## is defined as the M (I, J)

(PageRank, I) link to the link status of the file j from the file to the file

M = [
 0, 1, 1/2, 0, 1/4, 1/2 , 0;
 1/5, 0, 1/2, 1/3, 0, 0, 0;
 1/5, 0, 0, 1/3, 1/4, 0, 0;
 1/5, 0, 0, 0, 1/4, 0, 0;
 1/5, 0, 0, 1/3, 0, 1/2, 1;
 0, 0, 0, 0, 1/4, 0, 0;
 1/5, 0, 0, 0, 0, 0, 0;
]
##计算 全部 M 的特性值和固有矢量列的组合。

[V, D]= eig (M)

## holds the intrinsic vector corresponding to the maximum value of the absolute value to EigenVector.
     
  EigenVector = V (), find (ABS) >