Skip to content

Instantly share code, notes, and snippets.

@phuongdh
Created December 13, 2012 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phuongdh/4274107 to your computer and use it in GitHub Desktop.
Save phuongdh/4274107 to your computer and use it in GitHub Desktop.
A = [ ...
100^2 100*3.19766998291015625E-002/4.96048927307128906E-002
200^2 100*0.33522772789001465/0.49293804168701172
300^2 100*1.1971025466918945/1.7717289924621582
400^2 100*2.9364573955535889/4.4804339408874512
500^2 100*5.6204292774200439/8.7561042308807373
600^2 100*10.630518913269043/16.120862007141113
700^2 100*19.235197305679321/28.742238998413086
800^2 100*32.594357967376709/50.967889070510864
900^2 100*39.031611204147339/61.279205322265625
1000^2 100*49.198805809020996/76.746974229812622
1100^2 100*68.415740013122559/106.69846105575562
1200^2 100*77.390275716781616/122.03094696998596
];
figure;
plot(A(:,1),A(:,2))
title('Percentage of Matrix-Vector product time')
xlabel('N^2')
ylabel('Percentage')
grid on; grid minor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment