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: ARFIT_tquant.m
    path of file: ./repos/hctsa/Toolboxes/ARFIT
    
    the code of the file until where you have to start completion: function t = ARFIT_tquant(n, p)
% TQUANT  Quantiles of Student's t distribution
%
%  TQUANT(n, p) is the p-quantile of a t distributed random variable
%  with n degrees of freedom; that is, TQUANT(n, p) is the value below
%  which 100p percent of the t distribution with n degrees of freedom
%  lies.
  
%  Modified 13-Jul-06
%  Author: Tapio Schneider
%          tapio@gps.caltech.edu
%  Nir Krakauer, 19-Mar-11: modified call to fzero to work in Octave


    
function t = ARFIT_tquant(n, p)
% TQUANT  Quantiles of Student's t distribution
%
%  TQUANT(n, p) is the p-quantile of a t distributed random variable
%  with n degrees of freedom; that is, TQUANT(n, p) is the value below
%  which 100p percent of the t distribution with n degrees of freedom
%  lies.
  
%  Modified 13-Jul-06
%  Author: Tapio Schneider
%          tapio@gps.caltech.edu
%  Nir Krakauer, 19-Mar-11: modified call to fzero to work in Octave

%  References:  
%  L. Devroye, 1986: "Non-Uniform Random Variate Generation", Springer
%  
%  M. Abramowitz and I. A. Stegun, 1964: "Handbook of Mathematical
%     Functions" 
%  
%  See also: tcdf.m in the Matlab Statistics Toolbox (evaluates
%     cumulative distribution function of Student's t)

  if (n ~= round(n) | n < 1)
    error('Usage: TQUANT(n,p) - Degrees of freedom n must be positive integer.')
  end