Info

此问题已关闭。 请重新打开它进行编辑或回答。

Recursion revisited, variable y has in correct value

1 次查看(过去 30 天)
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 个评论
Stephen23
Stephen23 2021-6-15
"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.

回答(0 个)

此问题已关闭。

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by