matlab中print、fprintf、scanf、disp函數簡要語法介紹

print: print函數可以把函數圖形保存成圖片: minbnd = -4*pi;   maxbnd = 4*pi;   t = minbnd:0.1*pi:maxbnd;   plot(t, sin(t), 'g', 'Linewidth', 2);   line([minbnd, maxbnd], [0, 0]);    %繪製x軸   axis([-10, 10, -2, 2])    
相關文章
相關標籤/搜索