有会相位恢复算法的吗?能帮我看看下面的代码错哪儿了吗?不胜感激 PB#EU9
aqgm
2d centered Fourier transform,居中的傅里叶变换 {>3w"(f7o
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% pS8`OBenA
% Citation for this code and algorithm: }vZTiuzC
% Tatiana Latychevskaia and Hans-Werner Fink P!!:p2fo
% "Practical algorithms for simulation and reconstruction of digital in-line holograms", v?o("I[ C
% Appl. Optics 54, 2424 - 2434 (2015) M8VsU*aU
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% !
QKec
% The code is written by Tatiana Latychevskaia, 2002 !N/?b^y
% The version of Matlab for this code is R2010b F<O<=Ww
`a8 &7J(
function [out] = FT2Dc(u0); {DX1/49
G{.A5{
[Nx, Ny] = size(1i,1j); AQPzId*z
'<h@h*R
f1 = zeros(Nx,Ny); GPAz#0p
p]6/1&t