Clear Filters
Clear Filters

kindly explain the shuffling method of henon map?

2 views (last 30 days)
Wajid
Wajid on 18 Dec 2022
Edited: Jan on 18 Dec 2022
[m,n]=size(A);
a = 3;
b = 3;
num_iter = 5;
for k=1:num_iter
for i=1:m
for j=1:n
r = mod([round((1-(a*(i^2))+j)),round((b*i))],[m n]);
S_img(i,j)=A(r(1)+1,r(2)+1);
end
end
A=S_img;
end

Answers (0)

Community Treasure Hunt

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

Start Hunting!