https://mixrolikus.cc/video/xNl5pdlTIIo/loop-and-conditional-statements-in-matlab