毕业了,本博客今后不再进行维护!勿发邮件,请谅解。

 

Sunday, October 22, 2006

Cat 映射


Cat.m



function newx=Catmap(x,A,N)
% Cat映射
% x(n+1)=A*x(n) (mod N)
% x是m*1向量,A是m*m矩阵,N是整数
%
% Example:
% global Cat;
% global N;
% A=[1 1;1 2];N=1;
% newx=Catmap([.4 .5]')
%
% Author:LDYU
% Author's email: ustb03-07@yahoo.com.cn
%

mewx=A*x;
newx=mod(mewx,N);



1 comment:

Anonymous said...

程序名称应是catmap.m

Copyright © 2006 LDYU (USTB OF CHINA)