F inverse cumulative distribution function
X = finv(P,V1,V2)
X = finv(P,V1,V2) computes the inverse of the
F cdf with numerator degrees of freedom
denominator degrees of freedom
V2 for the corresponding probabilities in
can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar
input is expanded to a constant array with the same dimensions as the other inputs.
V2 parameters must contain real positive
values, and the values in
P must lie on the interval [0 1].
The F inverse function is defined in terms of the F cdf as
Find a value that should exceed 95% of the samples from an F distribution with 5 degrees of freedom in the numerator and 10 degrees of freedom in the denominator.
x = finv(0.95,5,10) x = 3.3258
You would observe values greater than 3.3258 only 5% of the time by chance.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).