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: ica_fuse_mcca.m
    path of file: ./repos/fit/FITv2.0e/ica_fuse/ica_fuse_analysis
    
    the code of the file until where you have to start completion: function [C1, C2, A1, A2, Lambda] = ica_fuse_mcca(X1, X2, ncomp1, ncomp2, numComp, featureNames)
%% Do MCCA

    
function [C1, C2, A1, A2, Lambda] = ica_fuse_mcca(X1, X2, ncomp1, ncomp2, numComp, featureNames)
%% Do MCCA
%
% Inputs:
% 1. X1 - Data of modality 1
% 2. X2 - Data of modality 2
% 3. ncomp1 - No. of components of modality 1
% 4. ncomp2 - No. of components of modality 2
% 5. numComp - No. of components
%
% Outputs:
% 1. C1 - Reduced data of modality 1
% 2. C1 - Reduced data of modality 2
% 3. A1 - Canonical coefficents of modality 1
% 4. A2 - Canonical coefficients of modality 2
% 5. Lambda - Canonical correlations
%

if (ncomp1 > size(X1, 1)) || (ncomp2 > size(X2, 1))
    error('number of observed signals is less than the component number!!');
end