MATLAB Answers

Index in position 1 exceeds array bounds.

조회 수: 50(최근 30일)
Hazhar Ahmed
Hazhar Ahmed 17 Feb 2021
편집: Matt J 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);

답변(1개)

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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by