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 基 本 繪 圖 -2 (I)• 一 次 畫 出 多 條 曲 線• 將 x 及 y 座 標 依 次 送 入 plot 指 令• 範 例 3-2:plotxy02.mx = linspace(0, 2*pi);% 在 0 到 2 間 , 等 分 取 100 個 點plot(x, sin(x), x, cos(x), x, sin(x)+cos(x)); % 進 行 多 條 曲 線 描 點 作 圖27

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

Saved successfully!

Ooh no, something went wrong!