matlab 在线求助 谁有matlab的 帮我运行下下列程序··把结果复制告诉我就好了 写实验报告用·····
R=6378;
h=[200,600,600,600,600];
H=[51000,51000,71000,128000,370000];
a=(h+H+2*R)/2;
c=(H-h)/2;E2=(c./a).^2;
L=2*pi*a.*(1-E2/4-3*E2.^2/64)
Times=[16,16,24,48,232]*3600;
V0=L./Times
b=sqrt(a.*a-c.*c);
S=a.*b.*pi./Times;
Vmax=2*S./(R+h)
答案:>> R=6378;
h=[200,600,600,600,600];
H=[51000,51000,71000,128000,370000];
a=(h+H+2*R)/2;
c=(H-h)/2;E2=(c./a).^2;
L=2*pi*a.*(1-E2/4-3*E2.^2/64)
Times=[16,16,24,48,232]*3600;
V0=L./Times
b=sqrt(a.*a-c.*c);
S=a.*b.*pi./Times;
Vmax=2*S./(R+h)
L =
1.0e+05 *
1.6548 1.6762 2.1284 3.4017 8.7611
V0 =
2.8730 2.9100 2.4634 1.9686 1.0490
Vmax =
10.3023 10.0652 10.2140 11.2777 10.5903
>>
上一个:matlab程序出错,我该怎么改?
下一个:你好,我想在embedded matlab function中编写一段程序,类似于a=b+10t,a为输出,b为输入,t为时间