查看单个帖子
旧 2009-03-01, 16:31   #1
小溪1986
初级会员
 
注册日期: 2009-03-01
年龄: 39
帖子: 2
声望力: 0
小溪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 if H>0 && H<0.5
U=0;
for u=1:Inf
U=U+u^(H-1.5)
end;
Q=(0.5-H)*U;
end;
end;
disp(Q);
G(u:1)=randn(M-1);
for u=(t-M)t-1)
T(1,=(t-u)^(H-1.5);
end;
G(t)=randn(1);
f=(H-0.5)*(T*G(u))+Q*G(t);
plot(t,f,'b*');
grid on;
__________________
:tongue:
小溪1986 当前离线   回复时引用此帖