@@Makstuff '''Function definitions in a script must appear at the end of the file. Move all statements after the "AMG_refine" function definition to before the first local function definition.'''' when i do it , doesn't work also
@@azzagamal9243 Thanks! Had to install Matlab after all to figure this out, but now it should work (or at least on version R2018a it does). Problems were 1) the octave commands "endif", "endfor", "endfunction" which I didn't know that Matlab required to all be just "end", 2) the unequal operator "!=" had to be "~=". Octave makes so much more sense btw 🤦♂
Doesn't work in Matlab 🥺
I don't have it installed, but if you give me the error messages I'm gonna take a look.
@@Makstuff '''Function definitions in a script must appear at the end of the file.
Move all statements after the "AMG_refine" function definition to before the first local function
definition.'''' when i do it , doesn't work also
Error in line 165
@@azzagamal9243 Thanks! Had to install Matlab after all to figure this out, but now it should work (or at least on version R2018a it does).
Problems were 1) the octave commands "endif", "endfor", "endfunction" which I didn't know that Matlab required to all be just "end", 2) the unequal operator "!=" had to be "~=". Octave makes so much more sense btw 🤦♂
@@Makstuff thank you very much
This was actually a good explanation. Thank you for the video.