som_pl_map.m
来自「Simon Haykin的 《Neural NetWorks》例子原码」· M 代码 · 共 27 行
M
27 行
function som_pl_map(A,p1,p2, P1, P2)% function som_pl_map(A,p1,p2)% % plot the grid formed by an SOFM% A - SOFM weights% p1, p2 - two planes to be used for plotting% % Hugh Pasika 1997if nargin == 3, P1=A(:,:,p1); P2=A(:,:,p2); end[r c]=size(P1);clahold on%plot horizontalfor j=1:c-1, plot([P1(:,j),P1(:,j+1)],[P2(:,j),P2(:,j+1)],'-b')end%plot verticalfor i=1:c-1, plot([P1(i,:)',P1(i+1,:)'],[P2(i,:)',P2(i+1,:)'],'-b')endhold off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?