i want to run following loop till conditions are met. but unfortunately when i execute the program then following error occurs. even line of error is also not mention where error exist. kindly help me.
"Subscript indices must either be real positive integers or logicals."