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: dcm_fit_finger.m
    path of file: ./repos/spm/man/example_scripts
    
    the code of the file until where you have to start completion: function [DCM] = dcm_fit_finger(yy,M,U,m)
% Fit DCM model to finger data
% FORMAT [DCM] = dcm_fit_finger(yy,M,U,m)
%
% yy     -  yy{n} for nth trial data
% M      -  model structure
% U      -  input structure

    
function [DCM] = dcm_fit_finger(yy,M,U,m)
% Fit DCM model to finger data
% FORMAT [DCM] = dcm_fit_finger(yy,M,U,m)
%
% yy     -  yy{n} for nth trial data
% M      -  model structure
% U      -  input structure
% m      -  PIF order
%
% DCM    -  o/p data structure
%__________________________________________________________________________

% Copyright (C) 2009-2022 Wellcome Centre for Human Neuroimaging


Nr  = length(M.x);
Nt  = length(yy);
DCM = [];
for n=1:Nt
    DCM.xY.y{n} = yy{n};
end