You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: exp_2_pcw.m
    path of file: ./repos/HRTF-Individualization/model/matlabcode/functions/exp
    
    the code of the file until where you have to start completion: function exp_2_pcw()
% IDs:

% 103 Josef, log 32 DTF
% 104 Georgios log 32 DTF
% 1   Dominik Hollerweger log 32 DTF
% 3   Wolfgang Hrauda log 32 DTF
% 4   Nico Seddiki log 32 DTF
% 5   Benedikt Brands log 32 DTF
% 6   Thomas Kumar log 32 DTF
% 7   Julia log 32 DTF


% Subject IDs
subjects_ids = [103 104 1 3 4 5 6 7];
%subjects_ids = [4];

% Load Answer File
for sub = 1:length(subjects_ids)
    answ_file = sprintf('../matlabdata/experiment/answ/answ_exp_task2_pcw_sub%i_1.mat',subjects_ids(sub));
    X = load(answ_file);
    az(sub,:) = X.answ.az;
    el(sub,:) = X.answ.el;
    sample_ind(sub,:) = X.answ.sample_ind;
    
    
function CalcJudgements(J_az,J_el,ref_pos_az,ref_pos_el,pos_ind_text)

for pos =1:length(ref_pos_az)
    
    for pc=1:5
    
    figure(20)
    clf
    boxplot(squeeze(J_az(:,pos,pc,:)),ref_adapt)
    grid on
    xlabel('percentiles')
    ylabel('azimuth error [degree]')
    
    % Line with Reference
    a = ones(110,1)*ref_pos_az(pos);
    hold on
    plot(a,'g--')

    set(20,'paperunits','centimeters','paperposition',[1 1 12 4])
    saveas(20,sprintf('../thesis/images/exp/task2_pcw/boxplot2/az_pos%i_pc%i',pos,pc),'epsc');

  
    figure(21)
    clf
    boxplot(squeeze(J_el(:,pos,pc,:)),ref_adapt)
    grid on
    
     % Line with Reference
    a = ones(1,1)*ref_pos_el(pos);
    hold on
    plot(a,'g--')
    
    xlabel('percentiles')
    ylabel('elevation error [degree]')
    set(21,'paperunits','centimeters','paperposition',[1 1 12 4])
    saveas(21,sprintf('../thesis/images/exp/task2_pcw/boxplot2/el_pos%i_pc%i',pos,pc),'epsc');

    end