function paramValues = flattenParameters(paramValues)
%FLATTENPARAMETERS 
% Flattening the values of the params

%   Copyright 2019 The MathWorks, Inc.

    for i=1:length(paramValues)
        paramData = paramValues(i).value;
        numValues = numel(paramData);
        flattenedParamData = reshape(paramData, [1 numValues]);
        paramValues(i).value= flattenedParamData;
    end

end

