MATLAB

Matlab Basics

Matlab Array

Matlab Types

Matlab Function

Matlab Functions List

Matlab Functions List

说明

  • ~~以下只列出我笔记中提及的函数~~
  • 无单独笔记的函数
    • 只有一种 syntax 且无需多余说明
    • 用法重复
    • 使用情形少
      • 这种函数只保留最基本 syntax
  • 符号说明
    • ... 为可变长度参数省略
    • __ 为同之前语法
    • <> 为有默认值的可选参数
    • <[]> 为方括号 [] 可省, 即这里的参数可以是可变长度参数, 也可以是一个数组

Basics

Mathematics

20210126031035
20210126031035
20210126032351
20210126032351

Matrix Manipulation

Identity Test

20210126225733
20210126225733
Link to original

Matlab Operations

Matlab Operator

Operator

Matlab Arithmetic Operations

SymbolRole
+Addition; Unary plus
-Subtraction; Unary minus
.*Element-wise multiplication
*Matrix multiplication
./Element-wise right division
/Matrix right division
.\Element-wise left division
\Matrix left division (also known as backslash)
.^Element-wise power
^Matrix power
.'Transpose
'Complex conjugate transpose

Matlab Relational Operations

SymbolRole
==Equal to
~=Not equal to
>Greater than
>=Greater than or equal to
<Less than
<=Less than or equal to

Matlab Logical Operations

SymbolRole
&Find logical AND
&&Find logical AND (with short-circuiting)
~Find logical NOT

String and Character Formatting

SymbolEffect on Text
''Single quotation mark
Cell delimiter
%{ %}Block comments that extend beyond one line
!Operating system command
?Metaclass for MATLAB class
~Argument placeholder to suppress specific input or output arguments
< &Specify superclasses
.?Specify fields of name-value structure when using function argument validation

Operator Precedence

  1. ()
  2. ~, sign +, -
  3. ^, .^, transpose ', .'
  4. .*, *, ./, /, .\, \
  5. +, -
  6. :
  7. <, <=, ==, >=, >, ~=
  8. &
  9. |
  10. &&
  11. ||
Link to original

Matlab Control Statements

Matlab Math

Matlab Graphics

Other

Self Teaching

  1. Matlab语言、功能、环境基本介绍
  2. 表达式、数组和矩阵的基本运算
  3. 高维数组及运算
  4. 字符串、元胞、结构体
  5. Matlab程序设计
  6. 数值计算
  7. 可视化
  8. 图形界面、输入输出

A