📄 fft_svd.m
字号:
function [U, s, V] = fft_svd(PSF, center)%% [U, s, V] = fft_svd(PSF, center);%% Given a PSF this function computes an "SVD" factorization% for periodic boundary conditions. That is, the "SVD" is% "Spectral Value Decomposition":% A = USV',% where U = V = inverse DFT matrix.%% On Entry:% A - psfMatrix obect, with periodic boundary conditions%% On Exit:% U, V - transformMatrix objects, with % U.transform = V.transform = 'fft'% s - column vector containing the eigenvalues% of A. Note that these are not sorted from largest% smallest.%P = circshift(PSF, -(center - 1));S = fftn(P);s = S(:);U = transformMatrix('fft');U = U';V = transformMatrix('fft');V = V';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -