summaryrefslogtreecommitdiff
path: root/parGetVecs.m
blob: f903494d495a8d0638c242eb28307f44cd9fd336 (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,1008);
    maxc = zeros(2,1008);
    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