Basic data handling

Create data

Syntax: Table[f, x, start, xstop, xstep, y, ystart, ystop, ystep]

This creates a list with values rising from zero to ten.

This creates a two-dimensional list.

Variables can contain data. This set the variable 'a' to a list.

'a' will now contain the list until you fill it with something else or close the program.

You can use the # symbol to get the value from the last calculation by table. This makes a list where the values go from 1 to 10 by using the # symbol.

Visualize data

Syntax: Show[{data0, data1, ...}, Options]

This visualizes the data in the variable 'a' that we created earlier.

Modify data

Get Get a specific value from a data variable.
Drop Drop a specific cell of a data variable.
Map Apply a function to all values in a data variable.
Flatten Flat a data variable to a single dimension data variable.
Count Counts the number of appearance of a specific value in a data variable.
Fit Try to fit a line to a data variable.


Syntax: Get[data, dim1, dim2, dim3]

This gets the third value in the second sub-list of the data variable a. Note that the first value of a data variable has index 0.


Syntax: Drop[data, dim1, dim2]

This drops the second value of the data variable 'a'

Note that variable 'a' still is the same. The change is made in variable 'b'. This is because Eudox makes a new variable where the change is made. 'a' is still the same variable. If you want to change variable 'a' you do like this.


Syntax: Map[f, x, data]

This applies the function sine to all values of 'a'.

Note that Map return a new variable with the new values, 'a' is still the same.


Syntax: Flatten[data]

This flats the data variable 'a' to a one-dimensional list.

Note that Flatten return a new variable with the new values, 'a' is still the same.


Syntax: Count[data, value]

This counts the number of appearances of the value 4 in data variable 'a'.

Next: Statistics

Table of contents