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: initialise.m
    path of file: ./repos/fieldtrip/external/spm12/@file_array
    
    the code of the file until where you have to start completion: function initialise(fa)
% Initialise file on disk
%
% This creates a file on disk with the appropriate size by explicitly
% writing data to prevent a sparse file.
%__________________________________________________________________________

    
function initialise(fa)
% Initialise file on disk
%
% This creates a file on disk with the appropriate size by explicitly
% writing data to prevent a sparse file.
%__________________________________________________________________________
% Copyright (C) 2013 Wellcome Trust Centre for Neuroimaging

%
% $Id: initialise.m 5458 2013-05-01 14:32:23Z guillaume $


% first approach
% fa = subsasgn(fa, substruct('()',num2cell(size(fa))), 0);

% second approach
% fa = subsasgn(fa, substruct('()',repmat({':'},1,ndims(fa))), 0);

% third approach (problem if n > intmax('int32'))
% bs = 2^20;
% n  = prod(size(fa)); %#ok<PSIZE>
% fa = reshape(fa,n,1);
% for i=1:ceil(n/bs)
%    ii = ((((i-1)*bs)+1):min((i*bs),n))';
%    fa = subsasgn(fa,struct('type','()','subs',{{ii}}),zeros(numel(ii),1));
% end