How is MATLAB used in robotics?
ROBOTICS involves various types of mathematics, of which most prior is linear algebra. The operations like matrix multiplication, calculating determinants, solving linear equations with multiple variables , etc. are common. If you have ever tried to implement these functions/operations in your favorite programming language(like Python , C/C++, Java, etc. ) then you already know how difficult it is to implement. So, MATLAB acts as a trump card for these kind of situations. Useful website- MATLABsolutions
MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation.
ADVANTAGES:
- Its basic data element is the matrix. A simple integer is considered an matrix of one row and one column. Several mathematical operations that work on arrays or matrices are built-in to the Matlab environment. For example, cross-products, dot-products, determinants, inverse matrices.
- Vectorized operations. Adding two arrays together needs only one command, instead of a for or while loop.
- The graphical output is optimized for interaction. You can plot your data very easily, and then change colors, sizes, scales, etc, by using the graphical interactive tools.
- Matlab’s functionality can be greatly expanded by the addition of toolboxes. These are sets of specific functions that provided more specialized functionality. Ex: Excel link allows data to be written in a format recognized by Excel, Statistics Toolbox allows more specialized statistical manipulation of data (Anova, Basic Fits, etc)
DISADVANTAGES:
- It uses a large amount of memory and on slow computers it is very hard to use.
- It is very costly. But the student version of it fairly cheap.
- It sits “on top” of Windows, getting as much CPU time as Windows allows it to have. This makes real-time applications very complicated.
Matlab in not only a programming language, but a programming environment as well. You can perform operations from the command line, as a sophisticated calculator. Or you can create programs and functions that perform repetitive tasks, just as any other computer language.
Furthermore, you can also perform image analysis in MATLAB. You might have heard abou OpenCV library for Computer Vision in Python or C/C++. Computational Photography is also possible in matlab. A large number of students, software engineers, Data scientists, etc. first implement their machine learning algorithms on the MATLAB and then if they feel the need of production in the computer market, then they try to implement it in other programming languages like C/C++, java, etc.
Comments
Post a Comment