I\'m trying to convert the following code to Python from MATLAB for an EEG Project (partly because Python\'s slightly cheaper!)
Hopefully someone can point me in the
One small point - indexing between the two is different. If you just copy everything from MATLAB to Python, as you seem to have done, you'll be very very confused. MATLAB x(1:5:end) translates to Python x[0::5]. Go back to NumPy for MATLAB Users and scan down to the section called "Linear Algebra Equivalents" (about halfway down the page). It gives a dictionary of how to go back and forth.