Subscripted assignment dimension mismatch.

Dear all, I don't know why I am getting the error on this img16 array gathering loop. kindly advise on how I can fix this
for i=1:height img16(i,:) = buff(index:index+width+1); index = index+width; end

 採用された回答

madhan ravi
madhan ravi 2018 年 10 月 28 日

0 投票

img16(i) = buff(index:index+width+1);

1 件のコメント

madhan ravi
madhan ravi 2018 年 10 月 28 日
if it doesn't work still provide the values for width , height ,index and buff

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2018 年 10 月 28 日

コメント済み:

2018 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by