?? fplot_example.m
字號:
%fplot_example.m
%函數畫圖實例
f = @(x)cos((x+1)./(x.^2+1)); %匿名函數
fplot(f,[-5 5],1e-4,'r-'); %函數畫圖
title('函數y=cos((x+1)/(x^2+1))');
xlabel('x');
ylabel('y');
grid;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -