function F = fdistq(p,v1,v2)
%FDISTQ	F=FDISTQ(p,v1,v2) gives the value of F for which
%	FDISTP(F,v1,v2)=p.  See also FDISTP.

% Peter R. Shaw, Woods Hole Oceanographic Institution
% Woods Hole, MA 02543
% (508) 457-2000 ext. 2473  pshaw@aqua.whoi.edu
% March, 1990
% Revised GKS 5 June 92

% ^ Calls FDISTAUX, FDISTP, BETAI, BETACF and LNGAMMA  ^

F=fsolve('fdistaux',2.5,zeros(16,1),[v1,v2,p]);
