812
Appendix A: Functions and Instructions
ln(
squareMatrix1
)
⇒
squareMatrix
Returns the matrix natural logarithm of
squareMatrix1
.
This is
not the same as calculating the natural
logarithm of each element. For information about the
calculation method, refer to
cos()
on.
squareMatrix1
must be diagonalizable. The result
always contains floating-point numbers.
In Radian angle mode and Rectangular complex
format mode:
ln([1,5,3;4,2,1;6,
ë
2,1])
¸
1.831…+1.734…
ø
i
.009…
ì
1.490…
ø
i
…
.448…
ì
.725…
ø
i
1.064…+.623
ø
i
…
ë
.266…
ì
2.083…
ø
i
1.124…+1.790…
ø
i
…
LnReg
MATH/Statistics/Regressions menu
LnReg
list1
,
list2
[
,
[
list3
] [
,
list4
,
list5
]
]
Calculates the logarithmic regression and updates
all the system statistics variables.
All the lists must have equal dimensions except for
list5
.
list1
represents xlist.
list2
represents ylist.
list3
represents frequency.
list4
represents category codes.
list5
represents category include list.
Note:
list1
through
list4
must be a variable name or
c1–c99 (columns in the last data variable shown in
the Data/Matrix Editor).
list5
does not have to be a
variable name and cannot be c1–c99.
In function graphing mode:
{1,2,3,4,5,6,7,8}
!
L1
¸
{1 2 3
...
}
{1,2,2,3,3,3,4,4}
!
L2
¸
{1 2 2
...
}
LnReg L1,L2
¸
Done
ShowStat
¸
¸
Regeq(x)
"
y1(x)
¸
Done
NewPlot 1,1,L1,L2
¸
Done
¥ %
Local
CATALOG
Local
var1
[,
var2
]
[,
var3
]
...
Declares the specified
vars
as local variables. Those
variables exist only during evaluation of a program
or function and are deleted when the program or
function finishes execution.
Note:
Local variables save memory because they
only exist temporarily. Also, they do not disturb any
existing global variable values. Local variables must
be used for
For
loops and for temporarily saving
values in a multi-line function since modifications on
global variables are not allowed in a function.
Program listing:
:prgmname()
:Prgm
:Local x,y
:Input "Enter x",x
:Input "Enter y",y
:Disp x
ù
y
:EndPrgm
Note:
x and y do not exist after the program
executes.
Lock
CATALOG
Lock
var1
[
,
var2]
...
Locks the specified variables. This prevents you
from accidentally deleting or changing the variable
without first using the unlock instruction on that
variable.
In the example to the right, the variable L1 is locked
and cannot be deleted or modified.
Note:
The variables can be unlocked using the
Unlock
command.
{1,2,3,4}
!
L1
¸
{1,2,3,4}
Lock L1
¸
Done
DelVar L1
¸
Error:
Variable
is
locked
or
protected
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...