ab = double(lab_he(:,:,2:3)); nrows = size(ab,1); ncols = size(ab,2); ab = reshape(ab​,nrows*nco​ls,2);

2 ビュー (過去 30 日間)
ramya
ramya 2017 年 9 月 29 日
コメント済み: Ha Hoang 2018 年 7 月 24 日
ab = double(lab_he(:,:,2:3)) what this line means?
  1 件のコメント
Ha Hoang
Ha Hoang 2018 年 7 月 24 日
I need lab_he function for command bellow ab = lab_he(:,:,2:3); Please show me how to take it Thank you

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

採用された回答

Jan
Jan 2017 年 9 月 29 日
編集済み: Jan 2017 年 9 月 29 日
lab_he(:, :, 2:3)
is the [M x N x 2] subarray taken from the [M x N x P] array called lab_he. double() converts it to the type double.
These are elementary Matlab methods. If is not efficient to ask such general and basic questions in the forum. Better read the "Getting Started" chapters of the documentation to learn how to use this powerful language.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by