Matlab Code For Saxton Phase Retrieval
Melisa Schamberger
—
plexEstimate = magnitude .* exp(1i * initialPhase); ``` 2. Forward and Inverse Fourier Transforms The algorithm toggles between the spatial and Fourier domains using FFT and inverse FFT (IFFT). Matlab’s fft2 and ifft2 functions make this straightforward. ```matlab spatialDomain = ifft2