I would like to execute the following procedure on MATLAB.
This program is written on Python and succeeded to execute, but I'm troubled with writing it on MATLAB.
# -*- coding: utf-8 -*-
for i in range(10):
if i == 9: