Home > reduc > flag > reshapeFlags.m

reshapeFlags

PURPOSE ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SYNOPSIS ^

function d = reshapeFlags(d)

DESCRIPTION ^

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 function d = reshapeFlags(d)


   fucking oliver changing the size of data, now we have to change the size
   of the flags.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function d = reshapeFlags(d)
0002 
0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0004 %
0005 % function d = reshapeFlags(d)
0006 %
0007 %
0008 %   fucking oliver changing the size of data, now we have to change the size
0009 %   of the flags.
0010 %
0011 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0012 
0013 newFast(:,1:2)  = d.flags.fast(:,1:2);
0014 newFast(:,3:8)  = repmat(d.flags.fast(:,3:4), [1 3]);
0015 newFast(:,9:10) = d.flags.fast(:,5:6);
0016 
0017 newBitFast(:,1:2)  = d.flags.bit.fast(:,1:2);
0018 newBitFast(:,3:8)  = repmat(d.flags.bit.fast(:,3:4), [1 3]);
0019 newBitFast(:,9:10) = d.flags.bit.fast(:,5:6);
0020 
0021 
0022 d.flags.fast = newFast;
0023 d.flags.bit.fast = newBitFast;
0024 
0025 return;

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005