summaryrefslogtreecommitdiff
path: root/parGetVecs.m
blob: 2df0e91cc86981b526c9e74bf1a7324a748015f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function parGetVecs(dirname)
    minc = zeros(2,174);
    maxc = zeros(2,174);
    parfor i=1:2
        if i==1
            [minc(i,:),maxc(i,:) ] = getVecsM(strcat(dirname,'_a'));
        else
            [minc(i,:),maxc(i,:) ] = getVecsM(strcat(dirname,'_b'));
        end
    end
    minc=min(minc)
    maxc=max(maxc)
    parfor i=1:2
        if i==1
            getVecs(strcat(dirname,'_a'),minc,maxc);
        else
            getVecs(strcat(dirname,'_b'),minc,maxc);
        end
    end
end