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

2 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Walter Roberson
Walter Roberson le 12 Fév 2013
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.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by