101 機動學 專題講解 Matlab教學

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

國立交通大學 機械工程學系

106學年度 第1學期

機動學 專題講解
MATLAB 解聯立方程式
授課老師:徐文祥教授
課程助教:李嘉桐
許中宥
林佳弘
2

大綱
• 如何取得 MATLAB
• MATLAB 操作介面介紹
• 使用 MATLAB 解聯立方程式
• 專題講解(一)範例
3

如何取得 MATLAB
• 計算機中心、機械系電腦教室(527)
• 使用校園授權軟體 (交通大學校園授權軟體服務網)

https://ca.nctu.edu.tw/
4

如何取得 MATLAB

https://ca.nctu.edu.tw/news-list/software-
release/235-matlab-campus-license-released
5

如何取得 MATLAB
• 提醒大家預先務必要有FTP下載介面
• 右上方點選"下載",進入官網下載FileZilla

https://ca.nctu.edu.tw/download
6

如何安裝MATLAB (詳見說明PDF檔案)
單機版(建議使用)
https://ca.nctu.edu.tw/manual/matlab/NCTU_
MATLAB_TAH_stand_alone_installation.pdf

網路版
https://ca.nctu.edu.tw/manual/matlab/NCTU_MA
TLAB_TAH_Concurrent_client_installation.pdf
7

MATLAB基本介紹 (以R2014a為例)

Work Space
Current Folder

CommandWindow

Command History
Details
8

MATLAB基本介紹(M file)
9

MATLAB基本介紹(M file)
10

使用MATLAB解聯立方程式
𝑥1 − 4𝑥12 − 𝑥1 𝑥2 = 0
• Ex: ൝
2𝑥2 − 𝑥22 + 3𝑥1 𝑥2 = 0
11

Save and Present the Sol.


12

Save and Present the Sol.


13

Solution

雙擊左鍵 可
看各參數狀態
Thanks for your attention.
Good luck !

You might also like