Index in position 1 exceeds array bounds.

2 visualizaciones (últimos 30 días)
Hazhar Ahmed
Hazhar Ahmed el 17 de Feb. de 2021
Editada: Matt J el 19 de Feb. de 2021
hello,
i have error in matlab code
Index in position 1 exceeds array bounds.
Error in dwt_haar (line 16)
X=X(1:256,1:256);

Respuestas (1)

Matt J
Matt J el 18 de Feb. de 2021
Editada: Matt J el 18 de Feb. de 2021
Notice!
x=rand(5,500);
x=x(1:256,1:256);
Index in position 1 exceeds array bounds (must not exceed 5).
  4 comentarios
Image Analyst
Image Analyst el 18 de Feb. de 2021
What does this say
whos X
Hazhar Ahmed
Hazhar Ahmed el 18 de Feb. de 2021
Editada: Matt J el 19 de Feb. de 2021
X=imread('tumor.jpg');

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by