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 程 式 設 計 入 門 篇 : 初 探 MATLABp-code 的 使 用• 將 函 數 func5.m 轉 成 p-code>> pcode func5.m>> dir *.pfunc5.p• 檢 視 func5, 以 p-code 的 程 式 碼 為 優 先>> which func5D:\matlabBook\MATLAB 程 式 設 計 : 入 門 篇 \15-M 檔 案 \func5.p• 呼 叫 p-code 的 函 數 和 一 般 函 數 並 無 不 同>> func5([2 4 8])ans =0.8750123

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

Saved successfully!

Ooh no, something went wrong!