File Exchange

image thumbnail


version 1.1 (155 KB) by

A matlab class to work with the highly compressed BVGraph files.



View License

The bvgraph class makes working with enormous graph adjacency matrices in Matlab a snap. The class implements an interface to BVGraph files ( that emulates a Matlab sparse matrix.

For example,

>> G = bvgraph(‘data/wb-cs.stanford’);

>> size(G);

>> y = G*rand(size(G,1),1);

are all valid operations. See the “bvgraph example” file for a more exhaustive explanation.

The goal of the library is to support computing PageRank with a 1 billion link graph and 120 million nodes possible inside Matlab with only 2 GB of memory. To load the matrix itself on a 64-bit platform would take around 10 GB of memory. As the “huge graphs” example shows, the bvgraph class achieves this goal.

To find additional datasets, see

The software was tested on

Matlab 2007b on amd64 Ubuntu 7.04
Matlab 2007a on amd64 Ubuntu 7.04
Matlab 2006b on amd64 Ubuntu 7.04

Matlab R14SP3 on qemu (i686) Ubuntu 6.06.1
Matlab 2007b on i686 Ubunutu 5.10

Matlab 7.0 on i386 Windows
Matlab 2007a on i386 Windows

Matlab 2007a on qemu (x86_64) WinXP64

Comments and Ratings (0)



Removed GPLed pieces.

Fixed two packaging errors in the zip file. Removed pagerank.m and duplicate of huge_graph.html.

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video