| 
        
          | 
              
                | T O P I C    R E V I E W |  
                | pirzadeh | Posted - 01/23/2003 : 06:34:00 AM Is there a build-in method in Origin to calculate for every 2 or more channels(rows) the mean value of the datas and to write them into a new data set?
 |  
                | 1   L A T E S T    R E P L I E S    (Newest First) |  
                | Mike Buess | Posted - 01/23/2003 : 08:05:33 AM Use the ave() function. Following definition is copied from LabTalk programming guide...
 
 ########################
 ave(dataset, size)
 
 The ave(dataset, size) function breaks dataset into groups of size size, finds the average for each group, and returns a range containing these values.
 ########################
 
 You could use it something like this...
 
 col(B)=ave(col(A),2);
 
 
 
 Mike Buess
 Origin WebRing Member
 |  |  
 |