随机过程课件(上海财经大学)第四节 布郎运动的小波表达式.ppt

随机过程课件(上海财经大学)第四节 布郎运动的小波表达式.ppt

第四节 布郎运动的小波表达式 布郎运动的模拟 clear %partition [0,1] num 500; t 0:1/num:1; %exponent number of summation J 15; %random standard normal distribution z randn 1,2^J ; %summation of n 0 x z 1 *t; z z 2:end ; %summation of n from 1 to 2^J-1 for j 0:J-1 for k 0:2^j-1 %compute delta for i 1:num+1 flag 2^j*t i -k; if flag 0flag 0.5 delta i 2*flag; elseif flag 0.5flag 1 delta i 2* 1-flag ; else delta i 0; end end %summation x x+2^ -j/2 /2*z 2^j+k *delta; end end %plot plot t,x num 500; n 23-1 num 1000; n 23-1 num 500; n 25-1 num 1000; n 25-1 num 500; n 27-1 num 1000; n 27-1 num 500; n 210-1 num 1

文档评论(0)

1亿VIP精品文档

相关文档