Borrar filtros
Borrar filtros

Subscripted assignment dimension mismatch.

2 visualizaciones (últimos 30 días)
Sarah
Sarah el 28 de Oct. de 2018
Comentada: madhan ravi el 28 de Oct. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by