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: skewtdis_cdf.m
    path of file: ./repos/malini/Codes/FC_EC_calculation code/DynamicFC/jplv7/Ucsd_garch/Distributions
    
    the code of the file until where you have to start completion: function cdf = skewtdis_cdf(x, nu, lambda)
% PURPOSE:
%     returns the cdf at x of Hansen's (1994) 'skewed t' distribution
% 
% USAGE:
%     cdf = skewtdis_cdf(x,nu,lambda)
% 
% INPUTS:
%     x  = a matrix, vector or scalar 
%     nu = a matrix or scalar degrees of freedom parameter 
%     lambda = a maxtrix or scalar skewness parameter 
% 
% OUTPUTS:
%     cdf = a matrix of pdf at each element of x of the distribution      
% 

    
function cdf = skewtdis_cdf(x, nu, lambda)
% PURPOSE:
%     returns the cdf at x of Hansen's (1994) 'skewed t' distribution
% 
% USAGE:
%     cdf = skewtdis_cdf(x,nu,lambda)
% 
% INPUTS:
%     x  = a matrix, vector or scalar 
%     nu = a matrix or scalar degrees of freedom parameter 
%     lambda = a maxtrix or scalar skewness parameter 
% 
% OUTPUTS:
%     cdf = a matrix of pdf at each element of x of the distribution      
% 
% COMMENTS:
%     (Correcting mistake in Rockinger and Joneau, 2001)
% 
% Author: Andrew Patton
% Modified: Kevin Sheppard
% kevin.sheppard@economics.ox.ac.uk
% Revision: 2    Date: 12/31/2001


[T,k] = size(x);
if size(nu,1)<T;
   nu = nu(1)*ones(T,1);
end