Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Complexity of spconvert in matlab

1 Ansicht (letzte 30 Tage)
Kris zenitis
Kris zenitis am 10 Jul. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Which is the complexity of spconvert function in matlab? I am trying to create the sparse representation of a sparse matrix. My matrix is the adjacency matrix of a graph. I ve got two adj_matrices. Ones with 7.000 nodes and ones with 400.000 nodes. I am using the following code:
f_adj = textread('mat.txt'); % a nx3 matrix represent the adjacency matrix nxn
adj = spconvert(f_adj);
[a b] = eigs(adj);
spy(adj);
The text file mat.txt is a nX3 files which contain the edges of the graph. What I want to ask is the complexity of the sponvert. In my 4gb ram pc I am able to create the first graph but I couldnt create the second graph.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by