Question: what is tcdf used for?
Answer: tcdf (Statistics Toolbox) P = tcdf(X,V) computes Student's t cdf at each of the values in X using the corresponding degrees of freedom in V . Vector or matrix inputs for X and V must be the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other inputs.