phase and amplitude values changes when doing reverse in encryption
    1 view (last 30 days)
  
       Show older comments
    
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!