# Matlab guide

Tutorials, guides and tricks on using Matlab and Octave

- How to calculate limits
- How to calculate the derivative of a function
- How to calculate integrals
- How to solve differential equations

**Arrays/Vectors**

- How to make a vector
- How to get a value from a vector
- How to read the last element
- Find the number of elements
- Find a value in an array
- Extract elements from a vector
- Replace elements in a vector
- Delete elements from a vector
- Concatenate two or more vectors
- Find the number of elements
- Add two or more vectors
- Subract vectors
- Add a scalar number to a vector
- Subtract a scalar from a vector
- Multiply a vector by a scalar number
- Division of a vector by a scalar number
- Element-wise product (Hadamard product)
- Element-wise division
- Element-wise power
- Difference between adjacent elements of a vector
- Use a vector function
- Sum all elements of a vector
- Product of elements of a vector
- Find the maximum value in a vector
- Find the minimum value in a vector
- Sort a vector
- Transpose a vector
- Rotate a vector
- Find the cross product of two vectors
- Find the norm of a vector

**Matrix**

- How to make a matrix
- Create a matrix of all ones
- Find data in a matrix
- Find rank of a matrix
- Find determinant of a square matrix
- Find the number of rows and columns
- Find the characteristic polynomial
- Find eigenvalues
- Trace of a matrix
- Identity matrix
- Null matrix (zero matrix)
- Diagonal matrix
- Transpose of a matrix
- Inverse matrix
- Inverse matrix of a rectangular matrix
- Flip a matrix left-right
- Flip a matrix up-down

- Make matrix from many vectors
- Merge two or more row vectors into one matrix
- Turn a matrix into a single row/column vector
- Extract a submatrix from a matrix
- Extract a column from a matrix
- Extract a row from a matrix
- Extract two or more rows from a matrix
- Extract two or more columns
- Extract diagonals from a matrix
- Insert a column
- Insert a row
- Rotate a matrix
- Replace a column of the matrix
- Replace a row of the matrix
- Replace diagonal elements
- Remove a column
- Remove a row
- Extract a lower triangular matrix
- Extract a upper triangular matrix
- Check if an array is a square matrix

**Graphics**

https://how.okpedia.org/en/matlab/matlab-en

**Report us an error or send a suggestion to improve this page**