Multigrid Method: Basic Concept Explanation + Full MATLAB/Octave Code
Ғылым және технология
A short video on the Octave/MATLAB code I made while trying to understand the concept of Multigrid methods.
Download of commented code:
drive.google.com/uc?export=do...
0:00 Intro
1:32 Explanation
4:30 Outro
Пікірлер: 7
Doesn't work in Matlab 🥺
@Makstuff
Жыл бұрын
I don't have it installed, but if you give me the error messages I'm gonna take a look.
@azzagamal9243
Жыл бұрын
@@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
Жыл бұрын
Error in line 165
@Makstuff
Жыл бұрын
@@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 🤦♂
@azzagamal9243
Жыл бұрын
@@Makstuff thank you very much
This was actually a good explanation. Thank you for the video.