⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 insarpair_v2.m

📁 %%% Demos for PUMA algorithms %%% We present four matlab demos for PUMA. demo1, demo2, demo3, and
💻 M
字号:
function  [x1, x2] = insarpair_v2(power, cohe, phase, npower)
%   [x1 x2] = insarpair_v2(power, cohe, phase, npower);
%
%   Generates a  pair of SAR images according to the model (1,2)  
%   presented in IGARSS98
% 
%   MATLAB 7.x
%
%   x1 = z1*exp(-j*phi1)+n1
%   x2 = z3*exp(-j*phi2)+n2
%   power  - E[|z1|^2]=E[|z2|^2]
%   cohe   - E[z1*z2^{*}]/E[|z1|^2]
%   phase  - phase = phi2-phi1	(interferometric phase)
%   npower - additive noise power
%
%   Author J.M. Bioucas Dias 1998
%   Topic - SAR Interferometry
%
%   Note: slight modified version of insarpair 
%   (change from random to randn due to toolbox availability restriction)
%   by Gon鏰lo Valad鉶 #19-6-2006#


[M N] =size(power);
%-------------------------------------
% generate w1 and w2 
w1 = 1/sqrt(2)*(randn(M,N) + i*randn(M,N) ).* sqrt(power);
w2 = 1/sqrt(2)*(randn(M,N) + i*randn(M,N) ).* sqrt(power);
%-------------------------------------
% generate n1 and n2 
n1 = sqrt(npower/2)*(randn(M,N) + i*randn(M,N) );
n2 = sqrt(npower/2)*(randn(M,N) + i*randn(M,N) );

%-------------------------------------
% generate x1 and x2 
x1 = cohe.* w1+sqrt(1-cohe.^2).*w2+n1;
x2 = w1.* exp(-i*phase)+n2;





⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -