?? base.m
字號:
clear all
R=20*60; %the update period
H=10; %the water depth
Et=32.4;
d=1000;
f=50;
alpha=0.504*f-11.2;
TL=10*log10(d)+alpha*d*10^(-3);
SL=TL+85;
It=10^(SL/10)*0.67*10^(-18);
Pt=2*pi*H*It;
for M=1:500
for i=1:M
Pframe(i)=1.23*Pt*(M-i+1)*(1+1/5+1/5+1/25);
end
pmax=max(Pframe);
for i=1:M
if abs(pmax-Pframe(i))<0.0000000000001
bottleneck(M)=i;
end
end
end
M=1:500;
semilogy(M,bottleneck);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -