您的瀏覽器不支援JavaScript功能,若網頁功能無法正常使用時,請開啟瀏覽器JavaScript狀態
:::

課程名稱 Course Title

數學軟體 Introduction to Mathematical Software

課程資訊

認識Latex數學編輯軟體、Beamer與Matlab軟體的程式設計、符號運算、數值、繪圖、文字處理功能,及在大學數學對數學運算的免費軟體(線上微積分運算、解矩陣與矩陣相乘)。

基本資料 Basic Information

必修課,學分數:3-0

參考書目 Bibliorgraphy

MATLAB程式設計入門篇(第四版)

課綱 Syllabus

 

100個常見MATLAB指令表

序號 指令 英文描述 中文描述
1 clc Clear command window 清除命令窗口
2 clear Remove items from workspace, freeing up system memory 從工作空間中刪除項目,釋放系統內存
3 close Close figure 關閉圖形窗口
4 help Display help text in Command Window 在命令窗口中顯示幫助文本
5 who List variables in workspace 列出工作空間中的變量
6 whos List variables in workspace, with sizes and types 列出工作空間中的變量,包括大小和類型
7 load Load variables from file into workspace 從文件中加載變量到工作空間
8 save Save workspace variables to file 將工作空間變量保存到文件
9 diary Save Command Window text to file 將命令窗口文本保存到文件
10 format Set output display format 設置輸出顯示格式
11 zeros Create array of all zeros 創建全零數組
12 ones Create array of all ones 創建全一數組
13 eye Create identity matrix 創建單位矩陣
14 rand Generate array of random numbers 生成隨機數數組
15 randn Generate array of normally distributed random numbers 生成正態分佈隨機數數組
16 linspace Generate linearly spaced vector 生成線性間隔向量
17 logspace Generate logarithmically spaced vector 生成對數間隔向量
18 meshgrid Create 2-D and 3-D grids 創建2D和3D網格
19 size Array dimensions 數組維度
20 length Length of vector or largest array dimension 向量長度或數組最大維度
21 find Find indices and values of nonzero elements 查找非零元素的索引和值
22 sort Sort array elements 對數組元素進行排序
23 sum Sum of array elements 數組元素的和
24 prod Product of array elements 數組元素的乘積
25 cumsum Cumulative sum of array elements 數組元素的累積和
26 cumprod Cumulative product of array elements 數組元素的累積乘積
27 diff Differences and approximate derivatives 差分和近似導數
28 gradient Numerical gradient 數值梯度
29 max Largest elements in array 數組中的最大元素
30 min Smallest elements in array 數組中的最小元素
31 mean Average or mean value of array 數組的平均值
32 median Median value of array 數組的中位數
33 std Standard deviation 標準差
34 var Variance 方差
35 cov Covariance 協方差
36 corrcoef Correlation coefficients 相關係數
37 transpose Transpose vector or matrix 向量或矩陣的轉置
38 inv Matrix inverse 矩陣求逆
39 det Matrix determinant 矩陣行列式
40 eig Eigenvalues and eigenvectors 特徵值和特徵向量
41 svd Singular value decomposition 奇異值分解
42 poly Polynomial characteristics 多項式特徵
43 roots Polynomial roots 多項式根
44 fft Fast Fourier transform 快速傅里葉變換
45 ifft Inverse fast Fourier transform 逆快速傅里葉變換
46 conv Convolution and polynomial multiplication 卷積和多項式乘法
47 deconv Deconvolution and polynomial division 解卷積和多項式除法
48 filter 1-D digital filter 一維數字濾波器
49 interp1 1-D data interpolation 一維數據插值
50 spline Cubic spline data interpolation 三次樣條數據插值
51 polyfit Polynomial curve fitting 多項式曲線擬合
52 polyval Polynomial evaluation 多項式求值
53 ode45 Solve nonstiff differential equations 求解非剛性微分方程
54 quad Numerically evaluate integral 數值積分
55 trapz Trapezoidal numerical integration 梯形數值積分
56 fzero Root of nonlinear function 非線性函數的根
57 fminbnd Find minimum of single-variable function on fixed interval 在固定區間上找單變量函數的最小值
58 fminsearch Find minimum of unconstrained multivariable function 找無約束多變量函數的最小值
59 plot 2-D line plot 二維線圖
60 plot3 3-D line plot 三維線圖
61 scatter Scatter plot 散點圖
62 bar Bar graph 條形圖
63 histogram Histogram plot 直方圖
64 boxplot Box plot 箱線圖
65 contour Contour plot of matrix 矩陣的等高線圖
66 surf 3-D colored surface plot 三維彩色表面圖
67 mesh 3-D mesh surface plot 三維網格表面圖
68 imagesc Scale data and display as image 縮放數據並顯示為圖像
69 quiver Quiver plot 箭頭圖
70 polar Polar coordinate plot 極坐標圖
71 subplot Create axes in tiled positions 在平鋪位置創建軸
72 hold Retain current plot when adding new plots 添加新圖時保留當前圖
73 grid Display or hide axes grid lines 顯示或隱藏軸網格線
74 legend Add legend to axes 向軸添加圖例
75 title Add title to current axes 向當前軸添加標題
76 xlabel Add label to x-axis 向x軸添加標籤
77 ylabel Add label to y-axis 向y軸添加標籤
78 zlabel Add label to z-axis 向z軸添加標籤
79 colorbar Display colorbar 顯示顏色條
80 axis Set axis limits and aspect ratios 設置軸限制和縱橫比
81 xlim Set or get x-axis limits 設置或獲取x軸限制
82 ylim Set or get y-axis limits 設置或獲取y軸限制
83 zlim Set or get z-axis limits 設置或獲取z軸限制
84 view Specify 3-D view 指定3D視圖
85 print Print figure or save to file 打印圖形或保存到文件
86 figure Create figure window 創建圖形窗口
87 gcf Get current figure handle 獲取當前圖形句柄
88 gca Get current axes handle 獲取當前軸句柄
89 saveas Save figure to file 將圖形保存到文件
90 print Print figure or save to file 打印圖形或保存到文件
91 imread Read image from graphics file 從圖形文件讀取圖像
92 imwrite Write image to graphics file 將圖像寫入圖形文件
93 imshow Display image 顯示圖像
94 for For loop for循環
95 while While loop while循環
96 if If statement if語句
97 switch Switch statement switch語句
98 function Define function 定義函數
99 return Return to invoking function 返回到調用函數
100 error Display error message 顯示錯誤消息