Recursion revisited, variable y has in correct value

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

"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

질문:

2021년 6월 15일

마감:

2021년 6월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by