Index in position 1 exceeds array bounds.

조회 수: 1 (최근 30일)
Hazhar Ahmed
Hazhar Ahmed 2021년 2월 17일
편집: Matt J 2021년 2월 19일
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 2021년 2월 18일
편집: Matt J 2021년 2월 18일
Notice!
x=rand(5,500);
x=x(1:256,1:256);
Index in position 1 exceeds array bounds (must not exceed 5).
  댓글 수: 4
Image Analyst
Image Analyst 2021년 2월 18일
What does this say
whos X
Hazhar Ahmed
Hazhar Ahmed 2021년 2월 18일
편집: Matt J 2021년 2월 19일
X=imread('tumor.jpg');

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

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by