Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
 
 
主题工具 显示模式
旧 2009-05-05, 11:18   #1
inuyasha
初级会员
 
inuyasha 的头像
 
注册日期: 2009-04-26
帖子: 3
声望力: 0
inuyasha 正向着好的方向发展
默认 一个基础的程序问题。。

=======================原程序======================
function shiyan3
syms x
R=6378;h=600;
H=[51000 71000 128000 370000];
T=[16 24 48 116]*3600;
for i=1:4
a=(h+H(i)+2*R)/2;
c=(H(i)-h)/2;
b=sqrt(a^2-c^2);
f=sqrt(a^2*(sin(x))*2+b^2*(cos(x))^2);
l(i)=2*int(f,x,0,pi);
L(i)=double(l(i));
V(i)=L(i)/T(i);
end
L
V

==========================运行结果========================
Warning: Explicit integral could not be found.
> In sym.int at 64
In shiyan3 at 11
Warning: Explicit integral could not be found.
> In sym.int at 64
In shiyan3 at 11
Warning: Explicit integral could not be found.
> In sym.int at 64
In shiyan3 at 11
Warning: Explicit integral could not be found.
> In sym.int at 64
In shiyan3 at 11

L =

1.0e+006 *

0.2408 0.3099 0.5054 1.3286


V =

4.1798 3.5872 2.9246 3.1815

=========================我的问题====================
我用的2009a版的MATLAB。。。
那个warning 所指的问题是什么啊。。。程序应该改哪些部分。。。
谢谢了,,大家。。
inuyasha 当前离线   回复时引用此帖
 


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 03:24


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.