Quick start of Matlab study notes

Table of contents

*************************Matlab Function Library********************** ***********

max method: find the maximum value

 union method: set the union of two collections

 disp method: display the value of the variable

The linspace method: Generate a linearly spaced vector, that is, an interval of independent variables

Drawing mark function: name the corresponding coordinates and icons

***************************Matlab drawing function******************** *****

plot two-dimensional drawing

 Surf 3D drawing

*******************************Keyword****************** *****************

whos keyword

format keyword

hold keyword

 legend keyword

***************************Operators and Data Types******************** ***********

Element-wise multiplication (.* operator)

 Element-wise factorial (.^ operator)

 concatenation ([ ] concatenation operator)

plural

 string

array

 array index

Create isometric vectors

 Data storage and import

Special Note


*************************Matlab Function Library********************** ***********

max method: find the maximum value

 union method: set the union of two collections

 

 disp method: display the value of the variable

The linspace method: Generate a linearly spaced vector, that is, an interval of independent variables

Drawing mark function: name the corresponding coordinates and icons

These named functions can only be called after the drawing function (for example, plot(x, y)) has been called

***************************Matlab drawing function******************** *****

plot two-dimensional drawing

Graphic Style Customization

 Surf 3D drawing

*******************************Keyword****************** *****************

whos keyword

Used to display details of workspace variables

format keyword

Changing the number of decimal places in a data affects only the display of the number, not how MATLAB calculates or saves the number.

hold keyword

Whether to keep the drawing before the current statement

 legend keyword

Annotation table for multiple curves appearing in the same drawing area

***************************Operators and Data Types******************** ***********

Element-wise multiplication (.* operator)

Instead of matrix multiplication, just multiply elements corresponding to rows and columns.

 

 

 Element-wise factorial (.^ operator)

 concatenation ([ ] concatenation operator)

Concatenation is the process of joining arrays to form larger arrays. In fact, the first array is formed by concatenating its elements. Paired square brackets  [] are the concatenation operator.

plural

 string

 

 

array

 array index

Create isometric vectors

 Data storage and import

 In order to enable the reuse of data variables, the save and import syntax is essential.

 renderings

 

Special Note

This article is written in conjunction with the introductory tutorial provided by the official documentation. If you want to learn more, please move to

Official tutorial document entry

Guess you like

Origin blog.csdn.net/m0_64810555/article/details/130367990