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: stdtdis_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 F = stdtdis_cdf (x, n)

    
function F = stdtdis_cdf (x, n)
% PURPOSE:
% returns cdf at x of the standardized to unit variance t(n) distribution
% 
% USAGE:
% cdf = stdtdis_cdf(x,n)
% 
% INPUTS:
% x = a vector 
% n = a scalar parameter with dof must be > 2
% 
% OUTPUTS:
% a vector of cdf at each element of x of the standardized t(n) distribution      
% 
% COMMENTS:
%      SEE ALSO: stdtdis_rnd, stdtdis_pdf
% 
% 
% Anders Holtsberg, 18-11-93
% Copyright (c) Anders Holtsberg
% modified by J.P. LeSage
% Modified: Kevin Sheppard
% kevin.sheppard@economics.ox.ac.uk
% Revision: 2    Date: 12/31/2001

if nargin ~= 2
error('Wrong # of arguments to tdis_cdf');
end