Assignment has more non-singleton rhs dimensions than non-singleton subscripts?

조회 수: 3 (최근 30일)
tmp=nan(2^(main.subdivide-1)*main.siz);
tmp(1:dimen(1),1:dimen(2))=refim; refim=tmp;
tmp(1:dimen(1),1:dimen(2))=im; im=tmp;
clear tmp;
i have the above erroe in this part of my code

채택된 답변

Walter Roberson
Walter Roberson 2013년 2월 12일
What are refim and im ? What is their size() ?
My guess is that your refim is 3 dimensional (RGB), but your tmp array is only 2 dimensional.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by