全部博文(45)
发布时间:2013-03-18 22:41:23
%%%%%%%%要求实现y=sinx函数的CMAC拟合%%%%%%%%%%%%%%%%%%%%%%%%%% 初始化%%%%%%%%%%%%%%%%%%%%%%%%%%clearmax=50000;%%%%最大循环次数c=5;%%%%%重复覆盖的区域的内存个数data=360;%%%%需要输入的数据个数mem=77;%%%%需要的内存个数error=0.00001;%%%误差精确度alpha=0.3;%%%%调整步长 A=uint8(zeros(data,c).........【阅读全文】