角谱 matlab,(matlab)角谱法程序解释。。完全不懂。。求解释。。越清晰越好

该函数ASP用于使用角谱法进行衍射计算,输入参数包括物平面波前、距离、采样间隔和波长等。通过Fourier变换和逆Fourier变换实现光场传播。允许用户自定义零填充、插值和频域填充等选项。适用于光学领域的衍射模拟。
摘要由CSDN通过智能技术生成

function varargout = ASP( U1,z,dxy1,lambda,varargin )

%ASP Diffraction calculation by Angular Spectrum Propagation method

%  Syntax:

%  [U2,dxy2] = ASP(U1,z,dxy1,'PropertyName','PropertyValue',...)

%  [U2,...] = ASP(U1,z,dxy1,...)

%  ASP(U1,z,dxy1,...)

%

%  U1 is the wavefront of the object plane

%  U2 is the wavefront of the diffraction plane

%  U1 and U2 are all two-dimensional array

%  size of U1 and U2 are even

%  z is the distance between object plane and diffraction plane

%  dxy1 is the sampling distance of the object, dxy1=[dx1,dy1]

%  lambda is the wavelength of the laser

%

%  if there is no output, image on diffraction plane will be displayed

%  else, no image will be displayed

%

%  the origin of coordinates is at M/2+1,N/2+1

%

%--------------------------------------------------------------------------

%  PropertyName and PropertyValue:

%

%  piz               {off} | t

%  pad the input array with zeros

%       off - do not pad

%       t - paste U1 to an all zeros array whose size is t*size(U1)

%

%  iiz               {off} | t

%  interpolate t

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值