필터 지우기
필터 지우기

phase and amplitude values changes when doing reverse in encryption

조회 수: 3 (최근 30일)
aaru sri
aaru sri 2018년 11월 18일
편집: aaru sri 2018년 11월 18일
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개)

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by