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: postProcessAccuracy.m
    path of file: ./repos/CADET/src/cadet-mi/examples/publications/LewekeEtAl2018/expdes
    
    the code of the file until where you have to start completion: function [ pulseLength, dist, relDist, confRelDistLo, confRelDistUp ] = postProcessAccuracy( data, doPlot )
%POSTPROCESSACCURACY Postprocesses data created by the RUNWORKFLOW() script for accuracy
%
%   Calculates mean absolute and relative deviation from the true parameters,
%   and the pulse lengths from the results of the RUNWORKFLOW() script. 
%
%   Confidence bands are estimated for the mean relative deviation by
%   a resampling Monte Carlo bootstrap method.
%
%   See RUNWORKFLOW() for details. The model considered here describes
%   affinity chromatography of lysozyme on Cibacron Blue Sepharose CL-6B at 
%   pH 2.7. Model parameters are based on benchmark 1 of the publication:
%   A. Püttmann, S. Schnittert, U. Naumann & E. von Lieres (2013).
%   Fast and accurate parameter sensitivities for the general rate model of
%   column liquid chromatography.
%   Computers & Chemical Engineering, 56, 46–57.

    
function [ pulseLength, dist, relDist, confRelDistLo, confRelDistUp ] = postProcessAccuracy( data, doPlot )
%POSTPROCESSACCURACY Postprocesses data created by the RUNWORKFLOW() script for accuracy
%
%   Calculates mean absolute and relative deviation from the true parameters,
%   and the pulse lengths from the results of the RUNWORKFLOW() script. 
%
%   Confidence bands are estimated for the mean relative deviation by
%   a resampling Monte Carlo bootstrap method.
%
%   See RUNWORKFLOW() for details. The model considered here describes
%   affinity chromatography of lysozyme on Cibacron Blue Sepharose CL-6B at 
%   pH 2.7. Model parameters are based on benchmark 1 of the publication:
%   A. Püttmann, S. Schnittert, U. Naumann & E. von Lieres (2013).
%   Fast and accurate parameter sensitivities for the general rate model of
%   column liquid chromatography.
%   Computers & Chemical Engineering, 56, 46–57.
%   doi:10.1016/j.compchemeng.2013.04.021
%
%   POSTPROCESSACCURACY(DATA) postprocesses the cell array DATA obtained from a call
%   of RUNWORKFLOW and plots the results.
%
%   POSTPROCESSACCURACY(..., DOPLOT) determines via DOPLOT if the results are plotted.
%
%   [PULSELENGTH, DIST, RELDIST, CONFRELDISTLO, CONFRELDISTUP] = POSTPROCESSACCURACY(...)
%   returns 
%      - pulseLength: A vector with ascend