Info
This question is closed. Reopen it to edit or answer.
Recursion revisited, variable y has in correct value
1 view (last 30 days)
Show older comments
function v= reversal(v) if length (v)>1 ii =round(length(v) /2 ); v=[reversal(v(ii+1:end)),reversal(v(1:ii))]; end end
1 Comment
Stephen23
on 15 Jun 2021
"variable y has in correct value"
Your code does not have any variable y.
You did not ask a question, so we have no idea what help you want.
You did not format your code, which makes it harder for us to help you.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!