Running Matlab and taking notes is why the Surface Pro line is so great. You have the versatility to sit in lecture annotating notes and recording the lecture but also run Matlab and some simple CAD builds. Like you say some more complex things on Matlab should probably be done in the labs but...