Index in position 1 exceeds array bounds.

1 Ansicht (letzte 30 Tage)
Hazhar Ahmed
Hazhar Ahmed am 17 Feb. 2021
Bearbeitet: Matt J am 19 Feb. 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);

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by