What lists the M \ mat and Max files in the current directory or specified directory
... At the end of the statement line, this row is not complete.
! Call operating system commands
Isvarname determines whether the variable name is valid
Add global before declaring the global variable name
Type of whos View data
Function handle type:
[Email protected]; fhandle pointer name functionname function name
Celldisp displays the elements of the cellular array
CellplotView the graph display of the cellular array
Num2cell numeric array to cellular array
Cell2mat converts the cellular array to a numerical array
Multi-dimensional arrays are generally created using subscript indexes.
Rand random matrix with uniform distribution
Randn follows a random matrix with a normal distribution.
Randperm generates 1 ~ Random arrangement of integers between N
In the input matrix, the same row elements are separated by commas (,) or spaces.
Zeros zero matrix
Eye unit matrix
Ones full 1 Matrix
Sparse Matrix
Sparse function-converts full-element storage to sparse matrix Storage
Full function -- convert a sparse matrix to a full matrix
Whether issparse is a sparse matrix
Nnz -- Number of non-zero elements in the Matrix
Spy -- View distribution of non-zero elements in a sparse matrix
Nozeros -- returns the column vector composed of all non-zero elements.
MATLAB software learning