[solved]-Need Help Matlab Using Recursion Please Notice Use Recursion Iteration Allowed Thank Help Q39066074
Need help on MATLAB by using Recursion!!!
Please notice that Only use Recursion.
Iteration is not allowed!!!
Thank you for your help!
Function Name: juniorRanger
Inputs: 1. (char) The filename of an image containing a forestFile
Outputs: 1. The image of forest with the path through it





Function Description: Write a function in MATLAB that takes in the name of an image file. This image is a map of the forest, and you are going to find the path to the litter before you even step into the maze! The image can be of any size, but the rows and columns are divisible by 20. The maze is made of 20×20 solid colored squares. The walls of the maze are dark green, RGB(13,102,35), the paths of the maze are a light green, RGB(66,244,92), and the litter is a red color, RGB(255,63,63). Your job is to solve the maze by drawing a path from the maze entrance to the litter. The maze entrance is the only light green square on the border of the maze. To draw this path, change the color from the light green to red (RGB(255,63,63)) at every square along the path. You will save this to a new image that has the original filename with ‘_solved’ appended. Example: forest.png forest_solved.png Notes: • There is only one path to the piece of litter. • We have provided a function, makeForest.p, to create additional test cases. Type help makeForest in your command window for instructions. We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageShow transcribed image text Function Description: Write a function in MATLAB that takes in the name of an image file. This image is a map of the forest, and you are going to find the path to the litter before you even step into the maze! The image can be of any size, but the rows and columns are divisible by 20. The maze is made of 20×20 solid colored squares. The walls of the maze are dark green, RGB(13,102,35), the paths of the maze are a light green, RGB(66,244,92), and the litter is a red color, RGB(255,63,63). Your job is to solve the maze by drawing a path from the maze entrance to the litter. The maze entrance is the only light green square on the border of the maze. To draw this path, change the color from the light green to red (RGB(255,63,63)) at every square along the path. You will save this to a new image that has the original filename with ‘_solved’ appended. Example: forest.png forest_solved.png Notes: • There is only one path to the piece of litter. • We have provided a function, makeForest.p, to create additional test cases. Type help makeForest in your command window for instructions.
Expert Answer
Answer to Need help on MATLAB by using Recursion!!! Please notice that Only use Recursion. Iteration is not allowed!!! Thank you f… . . .
OR

