Topic: “Profiling function vectorization in Matlab/Octave”
Speaker: James Desjardins, SHARCNET
Webinar link: SN-Seminars Vidyo room
Matlab is a productive tool for interacting with and performing calculations on multi-dimensional numeric arrays. When performing calculations on multi-dimensional arrays some forms of the procedures do not scale well and result in a poor performance for large arrays. In this seminar we will explore profiling tools for monitoring the performance of operations in Matlab and compare different forms of simple operations on three dimensional numeric arrays. The example data are taken from an electroencephalograophic (EEG) recording and the operations performed are relevant to typical procedures found in EEG processing pipelines. Although the specific examples come from EEG research, the procedures explored here are widely generalizable.
Example: given a three dimensional “data” array, subtracting the row means from the original array. […Abridged…] During this seminar the example of using bsxfun for the mean subtraction will then be expanded to a more complex procedure of correlating rows of the data array. Other topics covered in this seminar will include options for parallel processing and performance comparisons using Octave on SHARCNET.
Need help attending a webinar? See the SHARCNET Help Wiki.