public:matlab_tips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:matlab_tips [2016/04/02 06:13] – fangfufu | public:matlab_tips [2018/03/31 00:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Matlab Tips ====== | ||
| + | ===== General tips ===== | ||
| + | - If you plan to use parallel for-loop, put the parfor statement in the outermost loop to reduce inter-process communication. | ||
| + | ===== Simple text progress bar ===== | ||
| + | <code matlab> | ||
| + | disp(' | ||
| + | for i = 1:x | ||
| + | fprintf(' | ||
| + | %%%%% Do your biddings here %%%%% | ||
| + | end | ||
| + | disp(' '); | ||
| + | </ | ||
| + | |||
| + | ===== GPU / Host Performance ===== | ||
| + | These results were obtained using [[https:// | ||
| + | ^ ^Results for data-type ' | ||
| + | ^Device | ||
| + | ^TITAN Xp |422.47 |371.37 | ||
| + | ^GeForce GTX 1080 |280.84 |223.05 | ||
| + | ^Core i7-4900MQ (Single Thread) | ||
| + | ^GeForce GT 730M |27.43 |25.43 | ||
