MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   新手请教:给已知光场加高斯随机函数 (https://www.labfans.com/bbs/showthread.php?t=5863)

fabioyang 2008-12-16 11:08

新手请教:给已知光场加高斯随机函数
 
各位大虾好,我在算程序时,已经得出一个横向分布的光场,现在需要给这个光场加入一个微扰,来测试光束传播的稳定性。文献中是这么说的:q=w[1+u(x)],where [B]u is the random function with Gaussian distribution and variance delta^2[/B].
想请教一下大家,我在matlab里面这么写的程序:

unoise=normrnd(0,0.1*max(y0),[1 mtotal]);
u=y0.*(1+unoise); %y0是非微扰的初始光场分布

可是得到的光束传播图和文献的不一致,麻烦大虾们指点一二吧!非常感谢!!:lol:


所有时间均为北京时间。现在的时间是 12:30

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