problem in key generation ( chaotic 3D)

1 次查看(过去 30 天)
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 个评论
omar A.alghafoor
omar A.alghafoor 2020-4-21
Rk1(1)=0.5684;
Gk2(1)=0.4284;
Bk3(1)=0.2680;
%%%%%%%%%%%%%%%%%%
[rows,columns ,numberOfColorBands]=size(rgbImage); % %%%% 540x720 uint8
Walter Roberson
Walter Roberson 2020-4-24
编辑:Walter Roberson 2021-4-11
This does not answer my questions about sample input or the number of non-finite values in the variables.

请先登录,再进行评论。

回答(2 个)

omar A.alghafoor
omar A.alghafoor 2020-6-5
The problem has been resolved

Samaa Yasser
Samaa Yasser 2021-4-11
@omar A.alghafoor please can i contact with you i want to ask you about 3d chaotic generation ? i want a help please

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by