https://ruclips.ru/ru/watch/gHP0vIMkAv0/matlab-while-loop-part-1