Skip to content

Instantly share code, notes, and snippets.

@phuongdh
Created December 13, 2012 03:23
Show Gist options
  • Save phuongdh/4273769 to your computer and use it in GitHub Desktop.
Save phuongdh/4273769 to your computer and use it in GitHub Desktop.
Time-Iteration
A = [ ...
100 4.92630004882812500E-002/190 4.96048927307128906E-002
200 0.49138092994689941/327 0.49293804168701172
300 1.7685108184814453/498 1.7717289924621582
400 4.4745218753814697/685 4.4804339408874512
500 8.7446169853210449/836 8.7561042308807373
600 16.105212211608887/997 16.120862007141113
700 28.720081806182861/1101 28.742238998413086
800 50.931740999221802/1586 50.967889070510864
900 61.240034818649292/1524 61.279205322265625
];
figure;
plot(A(:,1),A(:,2),A(:,1),A(:,3))
title('Time per Iteration and Overall time')
xlabel('Mesh sie')
ylabel('Time')
grid on; grid minor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment