These are a few basic tools you will need to know if you are just starting learning Matlab.
Scalar functions in Matlab
Before fully diving into trigonometric functions, it is necessary to state that Matlab takes as input radians while working with trigonometric function meaning and uses the symbol pi for π
Trigonometric inverse sine (arcsine)
Trigonometric inverse cosine (arccos)
Trigonometric inverse tangent (arctan)
e Matlab (exponential)
Remainder after division
This function helps you find the remainder after a division. We will use as an example the remainder of the division of 5 by 2, which is one.
Round towards nearest integer
This function will allow you to round values towards the nearest integer if you are not interested in working with decimal numbers. It is most useful while you want to round the result of an operation.
Round towards negative infinity
floor(x) rounds the elements of x to the nearest integers towards minus infinity.
Round towards positive infinity
As opposed to the floor function, ceil(x) rounds the elements of x to the nearest integers towards infinity.