ch1_3.m
来自「其中提到遺傳學的程式碼與應用提供給次淚相向的研究者參考下載」· M 代码 · 共 8 行
M
8 行
% ch1_3.m
% Plot the diagram shown as Figure 1.2-3 on P.1-7
x=1:0.01:5; y=sin(x);
figure(1); plot(x,y); grid
title('Find minimum of y=sin(x) near x=3');
xlabel('x span. You can see the minimun(=-1) is near x=4.75');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?