nndhopi.m

来自「神经网络学习过程的实例程序」· M 代码 · 共 18 行

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

% Copyright 1994-2002 PWS Publishing Company and The MathWorks, Inc.
% $Revision: 1.5 $

global W;
global b;

% Assuming infinite Lambda:

yprime = 0.5*W*y + b;

⌨️ 快捷键说明

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