12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MATLAB 程 式 設 計 入 門 篇 : 初 探 MATLABPlot 基 本 繪 圖 -8 (I)• plotyy 指 令• 畫 出 兩 個 刻 度 不 同 的 y 軸• 範 例 3-8:plotxy08.mx = linspace(0, 2*pi);% 在 0 到 2 間 , 等 分 取 100 個 點y1 = sin(x);y2 = exp(-x);plotyy(x, y1, x, y2);% 畫 出 兩 個 刻 度 不 同 的 y 軸 , 分 別 是 y1, y241

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

Saved successfully!

Ooh no, something went wrong!