nndhopi.m

来自「神经网络设计书籍配套源码(matlab平台)」· M 代码 · 共 15 行

M
15
字号
function yprime = nndhopi(t,y)
%NNDHOPI Calculates the derivative for sample Hopfield network
%
% NNDHOPI(t,y)
%   t - Current time
%   y - Current output
% Returns dy

global W;
global b;

% Assuming infinite Lambda:

yprime = 0.5*W*y;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?