Using the file dl-matrixmarket.jl from the package MatrixMarket.jl (copy the file to your notebook), download two randomly chosen matrices (make sure that both matrices are real and at least one is real symmetric).
For each matrix:
spy()
from the package Gadfly.jl
,Hints
In Windows, you may need to prepend the http://
to the address in the
download()
command.
To plot the matrix A
, use the following commands:
myplot=spy(A)
draw(PNG(12cm,12cm),myplot)
To see only the structure, use
myplot=spy(map(Int64,A.!=0.0))
For larger matrices, plotting takes a while.
Choose three matrices from the package MatrixDepot.jl:
and analyse them as described in the Assignment 1.
Learn about Google's Page Rank algorithm and explain it as an eigenvalue problem. Implement the algorithm and analyse Stanford web graph.
Suggested readings:
In [ ]: