sustaining_gazes/matlab_version/face_detection/face_detection_yu/Select.m

5 lines
155 B
Mathematica
Raw Normal View History

2016-04-28 21:40:36 +02:00
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];