0001 function [xsensor,ysensor,zsensor] = sensors(NMeg); 0002 0003 if NMeg ~= 148 0004 error('improper number of MEG sensors'); 0005 end; 0006 0007 load '/home/ramesh/matlab_code/meg_code/sensor_loc.asc'; 0008 0009 xsensor = sensor_loc(:,1)'; 0010 ysensor = sensor_loc(:,2)'; 0011 zsensor = sensor_loc(:,3)'; 0012