📄 plotfig.m
字号:
R = round(100*get(HF9,'Value'))/100;
r = round(100*get(HF10,'Value'))/100;
h = round(100*get(HF11,'Value'))/100;
r = [1:0.1:100];
t = R^2./(5*r.^2).*sqrt(2*h/9.81);
switch get(HF14,'Value')
case 1
tim = round(1000*t)/1000;
case 2
tim = round(1000*t/60)/1000;
case 3
tim = round(1000*t/3600)/1000;
end
figure, plot(r,tim), title('The Figure of Time Vs. Hole Radius');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -