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: TestCalculateCubicEquationRoots.m
    path of file: ./repos/NASTRAN_CoFE/testing/unit_tests/003_stress
    
    the code of the file until where you have to start completion: % Class to unit test calculateCubicEquationRoots() function.

% Anthony Ricciardi
% June
    
function errorDifferentInputArraySizes(testCase,inputDimensions,coefficientPermutation)
            % Error one input matrix is a different size than others
            a = testCase.makeRandomSizeInputMatrix(inputDimensions,'real');
            sizeA = size(a);
            b = rand(sizeA);
            c = rand(sizeA);
            d = rand(sizeA);
            
            % change one matrix
            differentSize = sizeA;
            differentSize(end