This topic has been permanently closed and transferred to MATLAB Answers.


I am taking MATLAB On-ramp course - getting incorrect error though code is correct

Shivaprasad on 1 Aug 2025

I am executing a piece of code asked which included for & if loop. The code is correct but I am getting error as "incorrect" there is not details related to what is wrong & why this error message. Attching snap of error. Kindly help resolve this