[14761] in Athena Bugs

home help back first fref pref prev next nref lref last post

sgi 8.0F: matlab

daemon@ATHENA.MIT.EDU (Roy Kamimura)
Mon Oct 14 18:55:57 1996

To: bugs@MIT.EDU
Date: Mon, 14 Oct 1996 18:55:47 EDT
From: Roy Kamimura <royk@MIT.EDU>

System name:		cheindy2
Type and version:	IP22 8.0F
Display type:		GR3-XZ

What were you trying to do?
Was running a program of mine that uses a canned routine in
matlab called finv.  This function is found in the statistical
toolbox of matlab.

What's wrong:
My program which was working before isn't anymore and the
error is due to the finv function.	

Sample output
finv(.95,1,2)                                          
??? betainc(x(k),a(k),b
                      |
Undefined function or improper matrix reference.

Error in ==> /mit/matlab/Matlab4.2/toolbox/stats/betacdf.m
On line 44  ==>    p(k) = betainc(x(k),a(k),b(k));

Error in ==> /mit/matlab/Matlab4.2/toolbox/stats/betainv.m
On line 82  ==>     h = (betacdf(xk,a(k),b(k)) - pk) ./ betapdf(xk,a(k),b(k));

Error in ==> /mit/matlab/Matlab4.2/toolbox/stats/finv.m
On line 37  ==>     z = betainv(1 - p(k1),v2(k1)/2,v1(k1)/2);


What should have happened:

finv(.96,1,2) should have produced a numerical value
(can't think of it offhand)

Please describe any relevant documentation references:
	[Please replace this line with your information.]












home help back first fref pref prev next nref lref last post