12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MATLAB 程 式 設 計 入 門 篇 : 初 探 MATLAB矩 陣 的 各 種 處 理• MATLAB 亦 可 取 出 向 量 中 的 一 個 元 素 或 一 部 份 來 做運 算 , 例 如 :>> t(3) = 2 % 將 向 量 t 的 第 三 個 元 素 更 改 為 2t =3 7 2 5>> t(6) = 10% 在 向 量 t 加 入 第 六 個 元 素 , 其 值 為 10t =3 7 2 5 0 10>> t(4) = [] % 將 向 量 t 的 第 四 個 元 素 刪 除 ,[] 代 表 空 集 合t =3 7 2 0 109

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!