Thanks for your amazing courses. I have a problem when I call the function plot_simEEG in “Complete neural signal processing and analysis: Zero to hero” course. I get an error in line 31 in the function with error message : Data cannot have more than 2 dimensions. Although I follow your instructions in the video lecture I still get the error.
Actually, I replaced with reshape function and fixed the error, however since you have used many times this function in your codes, I’d like to know why the squeeze function doesn’t remove dimension for me :)) . I use MATLAB version 2018a.
I have 2018a.
When I generate a matrix, for instance, A=randn(10,1000,60) and then call squeeze B=squeeze(A(1,:,:)), the dimension of B should be 1000 * 60 as people say on the net but I get 1 * 1000 * 60.
Is it a problem with version of MATLAB? or I am wrong!