Advantages and disadvantages of MATLAB

Source: Internet
Author: User
Tags arithmetic operators

Advantages and disadvantages of MATLAB
MATLAB is a set of powerful engineering calculation software, which is widely used in automatic control, mechanical design, fluid mechanics and mathematical statistics and other engineering fields. By using the toolbox provided by MATLAB, engineers can efficiently solve complex engineering problems, and can simulate the system dynamically and display the numerical results with powerful graphical functions. MATLAB is one of the necessary calculation and analysis software, and is also an important tool for research and design department to solve engineering calculation problems.
The main features of Matlab language are:
1. High programming efficiency
Matlab language is a high-level language for science and engineering computing, allowing the use of mathematical forms of language programming, and more than C language, such as the way we write computational formulas, using MATLAB to write a program is like on the calculation paper arrangement formula and solve problems. Therefore, the MATLAB language can also be popularly referred to as the calculation paper-based scientific algorithm language. Because of its simple programming, programming efficiency is high, easy to learn and understand.
2. Efficient and convenient matrix and array operations
The Matlab language, like basic and C, specifies the arithmetic operators, the relational operators, the logical operators, the conditional operators, and the assignment operators of the Matrix, and most of these operators can be copied to the number-building operations without any change. Some, such as arithmetic operators, simply increase the "." It can be used to calculate the number of builds between. In addition, it does not need to define the dimensions of the array, and gives the matrix function, special matrix specific library functions, so that in solving the problem of digital image processing is very concise, efficient, convenient, which is not comparable to other high-level language.
However, compared to the C language Matlab also has its own disadvantage.
1. The efficiency of cyclic operation is low.
All the variables in MATLAB are vector forms, so that when the overall calculation of the vector, it shows that the other language is difficult to show the high efficiency, but for the individual elements in the vector, or the vector as a single loop variable to deal with, the processing process is quite complex.
2. Packaging is not good.
On the one hand, all variables are stored in the public workspace, and any statement can be called. On the other hand, as a complete software, not a program to implement the algorithm, programmers need to spend a considerable amount of time in using MATLAB to consider how to design the user interface. Although, MATLAB provides a certain amount of interactive interface production path, but the final code will still be inevitably ported to the more "low-level" language, such as C language, C + +.
The advantages and disadvantages of MATLAB, the choice of Matlab as their own platform, in fact, programming efficiency and operational efficiency between the compromise. Generally there is no special limit to the time of the program running, so it is understandable to choose MATLAB for programming. And more importantly, the MATLAB program is simple, we can easily improve the existing algorithm.

Advantages and disadvantages of MATLAB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.