0% found this document useful (0 votes)
24 views5 pages

Assignment

soft computing

Uploaded by

anmolbansal1969
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views5 pages

Assignment

soft computing

Uploaded by

anmolbansal1969
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Lab Assignment - 3

Soft Computing
Submitted By :- Dheerain Thakur
SID :- 22103013
Lab Group :- CS1

1. Write the code for implementing neural network for the following:

a. OR Gate

b. AND Gate
c. NOT Gate

2. Using Neural Network Toolbox, create a neural network for the following:
a. OR Gate
Eg,
p=[001 1:0 101] %training input
p1 = [1110;1110] %testing input
target OR=[0111]%target

b. AND Gate

c. NOT Gate
3. Design the neural network for implementing XOR gate using MLP by:
a. Using toolbox

b. Create your own NN for XOR gate

You might also like