All these questions should be answered in MATLAB !!!
1. Generate a set of 3 random patterns of dimension 12 where each value is +1 or -1.(3 random 12*12 matrix)
2. Create a 12-unit Hopfield network (a 12x12 matrix) from the patterns.
3. Compute the Goodness Value for each of the 3 patterns.
4. Generate a boxplot or histogram that shows the distribution of Goodness values across all 212 binary patterns ( components are -1 or +1)