Home > data-import > gaze > check_eye_xy_start_times.m

check_eye_xy_start_times

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 vars = {'cont_eye_x_child', 'cont_eye_y_child', 'cont_eye_x_parent', 'cont_eye_y_parent'};
0003 subjs_list = list_subjects([29 32 34 35 36]);
0004 
0005 
0006 subjs_list_full = find_subjects(vars, [29 32 34 35 36]);
0007 
0008 num_subjs = length(subjs_list);
0009 num_subjs_full = length(subjs_list_full);
0010 
0011     
0012 eye_x_child = get_variable_by_subject(subjs_list_full, vars{1});
0013 eye_y_child = get_variable_by_subject(subjs_list_full, vars{2});
0014 eye_x_parent = get_variable_by_subject(subjs_list_full, vars{3});
0015 eye_y_parent = get_variable_by_subject(subjs_list_full, vars{4});
0016     
0017 
0018 
0019 
0020 for i = 1:num_subjs_full
0021     
0022     temp_results = [subjs_list_full(i) eye_x_child{i}(1,:) eye_y_child{i}(1,:) ...
0023         eye_x_parent{i}(1,:) eye_y_parent{i}(1,:)];
0024     results(i,:) = temp_results;    
0025     
0026     
0027 end
0028 
0029     
0030     
0031

Generated on Tue 23-May-2017 20:00:55 by m2html © 2005