Basic Functions in MATLAB
Function | Description |
---|---|
disp() | The values or the text printed within single quotes is displayed on the output screen |
clear | To clear all variables |
close all | To close all graphics window |
clc | To clear the command window |
exp(x) | To compute the exponential value of x to the base e |
abs(x) | To compute the absolute value of x |
sqrt(x) | To compute the square root of x |
log(x) | To compute the logarithmic value of x to the base e |
log10(x) | To compute the logarithmic value of x to the base 10 |
rem(x, y) | To compute the remainder of x/y |
sin(x) | To compute the sine of x |
cos(x) | To compute the cosine of x |
tan(x) | To compute the tangent of x |
atan2(x, y) | To compute the arctangent or inverse of y/x |
Introduction to MATLAB
MATLAB stands for Matrix Laboratory. It is a high-performance language that is used for technical computing. It was developed by Cleve Molar of the company MathWorks.Inc in the year 1984.It is written in C, C++, Java. It allows matrix manipulations, plotting of functions, implementation of algorithms and creation of user interfaces.
Contact Us