comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/purgedata.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function c = purgedata(c)
2
3 d = get(c,'Data');
4 l = length(d);
5 empty = cell(1,l);
6 for i = 1:l
7 empty{i} = cell(1,length(d{i}));
8 end
9 c = set(c,'PeakPos',empty,'PeakVal',empty,...
10 'PeakPrecisePos',{},'PeakPreciseVal',{},'PeakMode',empty);
11 %,...'Tmp',[]);