Weekly talk 20110126 matlab profiler

235 views
206 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
235
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Weekly talk 20110126 matlab profiler

  1. 1. Matlab Profiler BasicStanley 2011/1/25 Weekly Talk
  2. 2. Outline• Matlab Profiler – GUI Profile tool in matlab• Speed Up – Example 1: Avoid Loop – Example 2: Avoid Growing Variable – Example 3: Avoid Function Overhead – Example 4: Adopt Sparse Matrix
  3. 3. Matlab Profiler
  4. 4. Matlab Profiler
  5. 5. Example 1.1: Avoid LoopM-Lint resultsNo M-Lint messages.
  6. 6. Example 1.1: Avoid Loop
  7. 7. Example 1.2: Avoid Loop
  8. 8. Example 1.2: Avoid Loop
  9. 9. Example 2: Avoid Growing Variable
  10. 10. Example 2: Avoid Growing Variable
  11. 11. Growing Variable(M-Lint resuls in Matlab R2008a)
  12. 12. Example 3: Avoid Function Overhead
  13. 13. Example 3: Avoid Function Overhead
  14. 14. Example 4: Adopt Sparse Matrix
  15. 15. Example 4: Adopt Sparse Matrix

×