VECTORS AND MATRICES AS FUNCTION ARGUMENTS
- using functions on vectors
- square root function
- sin function
Other functions are:
min = returns min value from al elements
max = returns max value from all elements
sum = calculates sum of all elements
mean = finds the mean in all elements
std
LOGICAL VECTORS
- logical array check if value is in matrix/vector:
- inputing logical arrays
TRUE() and FALSE() commands
find function
comparing vectors