sustaining_gazes/matlab_version/face_detection/face_detection_yu/Select.m
2016-04-28 15:40:36 -04:00

5 lines
No EOL
155 B
Matlab

function Y = Select(X, rows) % x,y,z,x,y,z,...
Y1 = X(3*(rows-1)+1, :);
Y2 = X(3*(rows-1)+2, :);
Y3 = X(3*(rows-1)+3, :);
Y = [Y1; Y2; Y3];