Index in position 1 exceeds array bounds.

1 visualizzazione (ultimi 30 giorni)
Hazhar Ahmed
Hazhar Ahmed il 17 Feb 2021
Modificato: Matt J il 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);

Risposte (1)

Matt J
Matt J il 18 Feb 2021
Modificato: Matt J il 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 Commenti
Hazhar Ahmed
Hazhar Ahmed il 18 Feb 2021
Modificato: Matt J il 19 Feb 2021
X=imread('tumor.jpg');

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by