hop_plotdig.m
来自「基于MATLAB完成的神经网络源程序,可以利用该程序完成有关神经网络的应用。」· M 代码 · 共 17 行
M
17 行
function hop_plotdig(P,r,c,stri)% function hop_plotdig(P,r,c)% % displays the hopfield digit stored in P% if P is a vector, it much first be reshaped%% Hugh Pasika 1997if nargin > 1, P=reshape(P,r,c); endP=(P+1)*64; colormap('bone'); image(P);a=gca; set(a,'XTick',[ ]); set(a,'YTick',[ ])if nargin == 4, xlabel(stri); end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?