Current location - Training Enrollment Network - Mathematics courses - How to operate simple addition and subtraction of objects in matlab?
How to operate simple addition and subtraction of objects in matlab?
First install the software correctly, and then open the software as shown in the figure below. Software version 20 13a is used here. You need to know how to input a matrix. The input of the matrix is relatively simple, as shown in the figure below. Note that commas and semicolons have different meanings. Commas are spaces between elements, and semicolons are spaces between lines.

Calculate the addition of matrix, put the result of matrix a+b in C, and then look at the subtraction, as shown below. The subtraction and multiplication of matrix a-b are just as shown in the figure below, and the result of matrix a*b is shown in the figure below. Is this operation very convenient? Learning this simple operation can deepen the understanding of this software, especially for beginners!

MATLAB is a commercial mathematical software produced by MathWorks Company in the United States, which is used in data analysis, wireless communication, deep learning, image processing and computer vision, signal processing, quantitative finance and risk management, robots, control systems and other fields.

MATLAB is matrix &;; The combination of the word laboratory means matrix laboratory, and the software is mainly oriented to the high-tech computing environment of scientific computing, visualization and interactive programming.

It integrates many powerful functions such as numerical analysis, matrix calculation, scientific data visualization, nonlinear dynamic system modeling and simulation in an easy-to-use window environment.

It provides a comprehensive solution for scientific research, engineering design and many scientific fields that need effective numerical calculation, and largely gets rid of the editing mode of traditional non-interactive programming languages (such as C and Fortran).

MATLAB, Mathematica and Maple are also called the three major mathematical softwares. It is second to none in numerical calculation in mathematical science and technology application software. Row matrix operation, drawing functions and data, realizing algorithms, creating user interfaces, connecting programs in other programming languages, etc.

The basic data unit of MATLAB is matrix, and its instruction expression is very similar to that commonly used in mathematics and engineering. Therefore, it is much simpler to solve problems with MATLAB than to accomplish the same thing with languages such as C and FORTRAN, and MATLAB also absorbs the advantages of software such as Maple.

Let MATLAB become a powerful mathematical software. Support for C, FORTRAN, C++ and JAVA has also been added in the new version.