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 Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by