phase and amplitude values changes when doing reverse in encryption
3 次查看(过去 30 天)
显示 更早的评论
d1=bb1.*exp(1i*2*pi*bbbb);
d12=abs(d1);
d13=angle(d1);
d16=d13./(2*pi);
d2=d1.*m2; %%%m1 and m2 is mask
d3=ifft(d2);
bb2=abs(d3);
kk2=angle(d3);
kkr=en1(:,:,1); %kk1
kkb=en1(:,:,2); %kk2
bbg=en1(:,:,3); %bb2
m11=exp(-2*pi*q1); %%%reverse of m1 m2
m22=exp(-2*pi*q2);
re = bbg.* cos(kkb);
im = bbg.*sin(kkb);
xyz = re + 1i*im;
%xyz = bbg.*exp(i*kkb);
fi = fft(xyz); %fft
di=fi.*m22;
bi=abs(di); %value of d12
bii=angle(di); %value of d13
bii1=bii./(2.*pi); %%in this small chane in phase is coming when compared to d16
positive phase in fwd bcmes negative in rev with only few elements ....r chnged
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!