ab = double(lab_he(:,:,2:3)); nrows = size(ab,1); ncols = size(ab,2); ab = reshape(ab,nrows*ncols,2);
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ramya
el 29 de Sept. de 2017
Comentada: Ha Hoang
el 24 de Jul. de 2018
ab = double(lab_he(:,:,2:3)) what this line means?
1 comentario
Ha Hoang
el 24 de Jul. de 2018
I need lab_he function for command bellow ab = lab_he(:,:,2:3); Please show me how to take it Thank you
Respuesta aceptada
Jan
el 29 de Sept. de 2017
Editada: Jan
el 29 de Sept. de 2017
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!