Padarray or circshift functions

조회 수: 2 (최근 30일)
YongHyun
YongHyun 2017년 10월 4일
댓글: Jan 2017년 10월 4일
Deal all, output = padarray(input,[ x y],'replicate') function does not work in the minus domain x and y. Especially, the output size compared to input (e.g., image) naturally changed, but I would like to keep same size with input matrix. On the other hand, circshift(input,[ x y]) function work well in the minus domain x and y.
So, I wanna to use the circshift function in the minus domain likewise 'replicate' mode of padarray function. or zero-padding using cirshift function. Do you have any good idea??
Many thanks.
  댓글 수: 1
Jan
Jan 2017년 10월 4일
Can you post a small example with data? I'm not sure if the wanted procedure is clear to me after reading the text.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!