Index in position 1 exceeds array bounds.
Show older comments
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);
Answers (1)
Notice!
x=rand(5,500);
x=x(1:256,1:256);
4 Comments
Matt J
on 18 Feb 2021
thnk you for reply but the error is
Index in position 1 exceeds array bounds (must not exceed 5).
Image Analyst
on 18 Feb 2021
What does this say
whos X
Hazhar Ahmed
on 18 Feb 2021
Edited: Matt J
on 19 Feb 2021
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!