查看单个帖子
旧 2009-03-02, 21:41   #2
skingenius
初级会员
 
注册日期: 2009-02-24
年龄: 37
帖子: 4
声望力: 0
skingenius 正向着好的方向发展
默认 回复: 求助~~~高手帮下忙,看看程序错在哪里?谢啦

引用:
作者: 小溪1986 查看帖子
H=input('pleasse input the value of H:');
M=input('pleasse input the value of M:');
disp(H);
disp(M);
if H>0.5 && H<1
Q=0
else...
不明白这个程序是干什么?u=1:inf 是一个无限循环,如果进入就麻烦了!你最好先给Q赋值,否则如果Q不满足if else if end的条件,那Q就无值可取。
skingenius 当前离线   回复时引用此帖