0% found this document useful (1 vote)
2K views

Design & Train Neural Network For AND, OR Gate Using Perceptron.

This document describes how to design and train a neural network to perform OR and AND logic gates using the MATLAB GUI. It provides steps to create an OR gate network using the GUI by importing data, configuring the perceptron network type, creating and viewing the network, and training it. It then provides similar steps for creating an AND gate network using the MATLAB GUI.

Uploaded by

navneet664
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
2K views

Design & Train Neural Network For AND, OR Gate Using Perceptron.

This document describes how to design and train a neural network to perform OR and AND logic gates using the MATLAB GUI. It provides steps to create an OR gate network using the GUI by importing data, configuring the perceptron network type, creating and viewing the network, and training it. It then provides similar steps for creating an AND gate network using the MATLAB GUI.

Uploaded by

navneet664
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

TITLE: To design & train Neural Network for AND, OR gate using perceptron.

Neural network in Matlab can be developed in 2 ways: 1. Using GUI 2. Implementing as .m file Creating OR gate using Matlab GUI: 1. To begin using the NN GUI >>nntool

2. Click on New to create your neural network. 3. Click on Data option in top to enter name and values of inputs and targets as shown:

4. Click on Network to name it, also select the network type as Perceptron, also select input data & target data names as created in last step as shown:

5. Now click on create to create network & then click on View to view it.

6. Now click on train to train the network to get the desired output.
2

Creating AND gate using Matlab GUI: 1. To begin using the NN GUI >>nntool

2. Click on New to create your neural network. 3. Click on Data option in top to enter name and values of inputs and targets as shown:

4. Click on Network to name it, also select the network type as Perceptron, also select input data & target data names as created in last step as shown:

5. Now click on create to create network & then click on View to view it.

6. Now click on train to train the network by entering name of network, inputs and targets.

7. Click on Train Network & output obtained is as:

You might also like