= N^2*8/1024^3/toc; end figure; plot(1:100,CPU2GPU,'r.',1:100,GPU2CPU,'b.'); legend(' CPU-> GPU',' GPU-> ...
www.mathworks.com