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: InterpCorrupSolution.m
    path of file: ./repos/curso-de-matlab/010 - Limpar os Dados de Series Temporais 61-71/Aula 070 - Interpolacao de Dados Corrompidos
    
    the code of the file until where you have to start completion: %%
%     Curso do canal ExataMenteS
%     Aula 70 - Interpolacao de Dados Corrompidos
%     Se inscreva n
    
function
    F = scatteredInterpolant(X(~InterpSensors)',Y(~InterpSensors)',Frames(~InterpSensors)');
  
    % Apply the function to estimate missing data
    p = F(X(InterpSensors)',Y(InterpSensors)');
    
    % Get the missing data back in the frame
    Frames(InterpSensors) = p;
    
    % Get that frame back into the dataset
    MultiDataIn(i,:,:) = Frames;
end