首頁>技術>

Matlab的一些基礎功能

1. embedding functions,相當於儲存在一個變數Variables裡。

1. Embedding functions, equivalent to storing in a variable Variables.

sin(cos(pi))=cos(pi)=ans,sin(ans)

2. Variables變數:特殊的變數

2. Variables: special variables

Ans

I,j:複數

Inf:無限大

eps:無限小的數

NaN:不是一個數字

Pi:π

3.消除變數

3. Eliminate variables

Clear +A=消除變數A

Clear =清空工作欄

4.數值顯示為分數

4. The value is displayed as a score

5.語句後面加分號,不顯示運算結果

5. Add a semicolon after the statement to not display the calculation result

6.方向鍵的上鍵盤,顯示之前的指令

6. The upper keyboard of the arrow keys shows the previous instructions

輸入向量和矩陣

橫向量輸入1. Horizontal input

2.縱向量輸入

2. Longitudinal input

3.矩陣乘法運算(注意區別)

3. Matrix multiplication operation (note the difference)

4.輸入矩陣

4. Input matrix

5.選出矩陣中需要的元素

5. Select the required elements in the matrix

A(第幾行,第幾列)

6.替換矩陣中元素

6. Replace elements in the matrix

7.等差級數矩陣輸入

7. Arithmetic progression matrix input

A=[i;j],等差為1

B=[i;j;k],等差為j

8.增廣矩陣的輸入

8. Input of augmented matrix

9.矩陣與矩陣的乘法運算

9. Matrix and matrix multiplication operation

10.矩陣與常數的運算

10. Matrices and constant operations

11.矩陣變換:對角線不變,兩邊元素交換

11. Matrix transformation: the diagonal is unchanged, and the elements on both sides are exchanged

12.一些特殊矩陣

12. Some special matrices

eye矩陣:對角線為1,其餘元素為0的矩陣

零矩陣:元素全部為0的矩陣

對角線矩陣:除了對角線,其餘元素為0

19
最新評論
  • BSA-TRITC(10mg/ml) TRITC-BSA 牛血清白蛋白改性標記羅丹明
  • 跪求!Redis之父作序推薦Redis設計與實現的入門指南