Subscripted assignment dimension mismatch.

2 vues (au cours des 30 derniers jours)
Sarah
Sarah le 28 Oct 2018
Commenté : madhan ravi le 28 Oct 2018
Dear all, I don't know why I am getting the error on this img16 array gathering loop. kindly advise on how I can fix this
for i=1:height img16(i,:) = buff(index:index+width+1); index = index+width; end

Réponse acceptée

madhan ravi
madhan ravi le 28 Oct 2018
img16(i) = buff(index:index+width+1);
  1 commentaire
madhan ravi
madhan ravi le 28 Oct 2018
if it doesn't work still provide the values for width , height ,index and buff

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices 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