Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> n=1000;a=rand(n);b=rand(n);c=zeros(n);
- >> tinicial=clock; c = a*b; tfinal = clock; mflops = (2*n^3)/1000000;
- >> mflops/etime(tfinal,tinicial)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement