beautypg.com

Mat 4444 list(), Max(), Mean() – Texas Instruments TITANIUM TI-89 User Manual

Page 842: Median(), 842 appendix a: functions and instructions

background image

842

Appendix A: Functions and Instructions

mat

4444list()

MATH/List menu

mat

4444list(matrix)

list

Returns a list filled with the elements in

matrix

. The

elements are copied from

matrix

row by row.

mat4list([1,2,3])

¸

{1 2 3}

[1,2,3;4,5,6]! M1

¸

[

1 2 3

4 5 6

]

mat4list(M1)

¸

{1 2 3 4 5 6}

max()

MATH/List menu

max(

expression1

,

expression2

)

expression

max(

list1

,

list2

)

list

max(

matrix1

,

matrix2

)

matrix

Returns the maximum of the two arguments. If
the arguments are two lists or matrices, returns a
list or matrix containing the maximum value of
each pair of corresponding elements.

max(2.3,1.4)

¸

2.3

max({1,2},{ë 4,3})

¸

{1

3}

max(

list

)

expression

Returns the maximum element in

list

.

max({0,1,ë 7,1.3,.5})

¸

1.3

max(

matrix1

)

⇒ matrix

Returns a row vector containing the maximum
element of each column in

matrix1

.

Note: See also

fMax()

and

min()

.

max([1,л 3,7;л 4,0,.3])

¸

[1 0 7]

mean()

MATH/Statistics menu

mean(

list

[

, freqlist

])

expression

Returns the mean of the elements in

list

.

Each

freqlist

element counts the number of

consecutive occurrences of the corresponding
element in

list

.

mean({.2,0,1,ë.3,.4})

¸

.26

mean({1,2,3},{3,2,1}) ¸ 5/3

mean(

matrix1

[

, freqmatrix

])

matrix

Returns a row vector of the means of all the
columns in

matrix1.

Each

freqmatrix

element counts the number of

consecutive occurrences of the corresponding
element in

matrix1

.

In vector format rectangular mode:

mean([.2,0;L1,3;.4,L.5])

¸

[L.133

...

.833

...

]

mean([1/5,0;L1,3;2/5,L1/2])

¸

[ë 2/15 5/6]

mean([1,2;3,4;5,6],[5,3;4,1;

6,2]) ¸ [47/15,

11/3]

median()

MATH/Statistics menu

median(

list

)

expression

Returns the median of the elements in

list1

.

median({.2,0,1,ë.3,.4})

¸

.2

median(

matrix1

)

matrix

Returns a row vector containing the medians of
the columns in

matrix1

.

Note: All entries in the list or matrix must
simplify to numbers.

median([.2,0;1,л.3;.4,л.5])

¸

[.4

л

.3]