This repository has been archived on 2021-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
NC/mp1/files_data/ex2.m

22 lines
386 B
Matlab

%[U,G] = surfer('https://www.usi.ch',500);
% pagerank(U,G);
% A = (1/40) * [1 1 1 35 1 1;
% 18 1 1 1 1 1;
% 18 18 1 1 1 1;
% 1 18 35 1 1 1;
% 1 1 1 1 1 35;
% 1 1 1 1 35 1];
A = (1/40) * [
0 0 0 40 0 0;
20 0 0 0 0 0;
20 20 0 0 0 0;
0 20 40 0 0 0;
0 0 0 0 0 40;
0 0 0 0 40 0];
[v,d] = eig(A);
display(d);
display(v);