816 Appendix A: Functions and Instructions
MedMed MATH/Statistics/Regressions menu
MedMed
list1
,
list2
[, [
list3
] [,
list4
,
list5
]]
Calculates the median-median line 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:
{0,1,2,3,4,5,6}! L1
¸
{0 1 2
...
}
{0,2,3,4,3,4,6}! L2
¸ {0 2 3
...
}
MedMed L1,L2
¸ Done
ShowStat
¸
¸
Regeq(x)! y1(x)
¸ Done
NewPlot 1,1,L1,L2
¸ Done
¥%
mid() MATH/String menu
mid(
sourceString
,
start
[,
count
])
⇒
string
Returns
count
characters from character string
sourceString
, beginning with character number
start
.
If
count
is omitted or is greater than the dimension of
sourceString
, returns all characters from
sourceString
,
beginning with character number
start
.
count
must be
‚
0. If
count
= 0, returns an empty
string.
mid("Hello there",2)
¸
"ello there"
mid("Hello there",7,3)
¸
"the"
mid("Hello there",1,5)
¸
"Hello"
mid("Hello there",1,0)
¸
""
mid(
sourceList
,
start
[,
count
]) ⇒
list
Returns
count
elements from
sourceList
, beginning
with element number
start
.
If
count
is omitted or is greater than the dimension of
sourceList
, returns all elements from
sourceList
,
beginning with element number
start
.
count
must be
‚
0. If count = 0, returns an empty list.
mid({9,8,7,6},3)
¸ {7 6}
mid({9,8,7,6},2,2)
¸ {8 7}
mid({9,8,7,6},1,2)
¸ {9 8}
mid({9,8,7,6},1,0)
¸ {}
mid(
sourceStringList
,
start
[,
count
])
⇒
list
Returns
count
strings from the list of strings
sourceStringList
, beginning with element number
start
.
mid({"A","B","C","D"},2,2)
¸
{"B" "C"}
min() MATH/List menu
min(
expression1
,
expression2
) ⇒
expression
min(
list1, list2
) ⇒
list
min(
matrix1, matrix2
) ⇒
matrix
Returns the minimum of the two arguments. If the
arguments are two lists or matrices, returns a list or
matrix containing the minimum value of each pair of
corresponding elements.
min(2.3,1.4)
¸ 1.4
min({1,2},{ë 4,3})
¸ {ë 4 2}