Question: Please solve using Matlab. Thank you! You know how cereal companies put mazes on the back of their boxes to keep you entertained while you
Please solve using Matlab. Thank you!

You know how cereal companies put mazes on the back of their boxes to keep you entertained while you eat your cereal? This is worse. So much worse, In this challenge, your goal is simple. Given a picture of a maze, list the steps necessary to go from the entrance (at pixel (1, 200)) to the exit (at pixel (402, 202)) in the least number of moves, and export them to a text file, saying you either moved 'DOWN' (row increased) 'RIGHT' (column increased) 'LEFT' (column decreased) or 'UP' (row decreased). Each step should be reported on a new line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
