What is the method of matlab discrete Hopfield neural network
This article mainly explains "what is the method of matlab discrete Hopfield neural network". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the method of matlab discrete Hopfield neural network"?
% clear environment variables
Clc
Clear
%% data import
Load data1 array_one
Load data2 array_two
%% training sample (target vector)
T = [array _ one;array_two]'
Create network
Net=newhop (T)
Noisy digital lattice of%% digits 1 and 2 (random method)
Noisy_array_one=array_one
Noisy_array_two=array_two
For iTunes 1: 100
A=rand
If a