problem in key generation ( chaotic 3D)
Show older comments
hi friends .... how are you.
I have problem when key generation ( chaotic 3D) and store results in 3 arrays 1*3888801 , but all values in cells are (NAN) , why ?
the code :
function [Rk1,Gk2,Bk3] = FUC_keis_R_G_B(Rk1,Gk2,Bk3,sizeimage)
% control parameters
a(1) = 35; b(1) = 1.3; c(1) = 3; d(1) = 8; e(1) = 10; f(1) = 2; g(1) = 5 ; h(1) = 0.5 ;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
for n=1:sizeimage
Rk1(n+1)=a*(Gk2(n)-Rk1(n))+b*Gk2(n)*Bk3(n);
Gk2(n+1)=-c*Rk1(n)*Bk3(n)+d*Gk2(n)+e*Rk1(n);
Bk3(n+1)=f*Rk1(n)*Gk2(n)-g*Bk3(n)+h*Rk1(n);
end
also , I want code used above keis with encryption (r , g,b) image colore
3 Comments
Walter Roberson
on 20 Apr 2020
Could you give us some sample input?
Also please show
nnz(~isfinite(Rk1))
nnz(~isfinite(Gk2))
nnz(~isfinite(Gk3))
omar A.alghafoor
on 21 Apr 2020
Walter Roberson
on 24 Apr 2020
Edited: Walter Roberson
on 11 Apr 2021
This does not answer my questions about sample input or the number of non-finite values in the variables.
Answers (2)
omar A.alghafoor
on 5 Jun 2020
0 votes
Samaa Yasser
on 11 Apr 2021
0 votes
@omar A.alghafoor please can i contact with you i want to ask you about 3d chaotic generation ? i want a help please
1 Comment
omar A.alghafoor
on 12 Apr 2021
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!