problem in key generation ( chaotic 3D)

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 Kommentare

Could you give us some sample input?
Also please show
nnz(~isfinite(Rk1))
nnz(~isfinite(Gk2))
nnz(~isfinite(Gk3))
Rk1(1)=0.5684;
Gk2(1)=0.4284;
Bk3(1)=0.2680;
%%%%%%%%%%%%%%%%%%
[rows,columns ,numberOfColorBands]=size(rgbImage); % %%%% 540x720 uint8
Walter Roberson
Walter Roberson am 24 Apr. 2020
Bearbeitet: Walter Roberson am 11 Apr. 2021
This does not answer my questions about sample input or the number of non-finite values in the variables.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

omar A.alghafoor
omar A.alghafoor am 5 Jun. 2020

0 Stimmen

The problem has been resolved
Samaa Yasser
Samaa Yasser am 11 Apr. 2021

0 Stimmen

@omar A.alghafoor please can i contact with you i want to ask you about 3d chaotic generation ? i want a help please

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Gefragt:

am 20 Apr. 2020

Bearbeitet:

am 11 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by