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 件のコメント

Walter Roberson
Walter Roberson 2020 年 4 月 20 日
Could you give us some sample input?
Also please show
nnz(~isfinite(Rk1))
nnz(~isfinite(Gk2))
nnz(~isfinite(Gk3))
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 日

0 投票

The problem has been resolved
Samaa Yasser
Samaa Yasser 2021 年 4 月 11 日

0 投票

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

1 件のコメント

omar A.alghafoor
omar A.alghafoor 2021 年 4 月 12 日
yes : omar.abdul.ghafoor83@gmail.com

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2019a

質問済み:

2020 年 4 月 20 日

編集済み:

2021 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by