Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

MatLab: Your help is Needed The first problem in Homework #3 required you to wri

ID: 3768383 • Letter: M

Question

MatLab: Your help is Needed

The first problem in Homework #3 required you to write a Matlab program called writeback.m whose purpose was to reverse any string. For that assignment, your code used a loop. For this assignment, write a new Matlab function with the same purpose (i.e. to reverse a string), but which is recursive and uses no loops or any other built-in Matlab functions. Call this function recursivestrrev.m. You may not use ANY built-in Matlab functions in your code. Program specifications and some sample function calls are listed below.

Explanation / Answer

For example you can use the following function of matlab. Its not builtin.