i am executing the code below and getting the error"Index exceeds matrix dimensions. Error in principale_peppers (line 7) g=X(:,:,2)/255" can anyone help.

 採用された回答

Luuk van Oosten
Luuk van Oosten 2015 年 3 月 2 日
Have a look here at the answer, or any other previous answered questions regarding 'index exceeds matrix dimensions' problems around this forum.
You are trying to access a value in your matrix that does not exists.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Particle & Nuclear Physics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by