Professional Documents
Culture Documents
Pilani Campus
Semester I: 2021-2022
[A] Design a single neuron with weights and bias, using perceptron, for the following
gates: AND, OR, NAND, NOR and XOR. Use two inputs for each of the gates and then
later do the similar analyses with three inputs. Additionally, use two approaches (using
the command and nntool toolbox) of the MATLAB to design your neuron model.
Comment on your observations and determine your bias and weight values.
[B] Design a single neuron perceptron to classify two different sets of data patterns,
based on the measurements of ‘x1’ and ‘x2’. Assume that each of the data pattern
contains 50 data points. Create your own two sets of data patterns randomly and then
design your perceptron both using the MATLAB command and toolbox. Show the
complete analyses and make your observations. Use the figures to illustrate your points.
Resources: