Week 3 - Exercise on Simulink Modeling (Part - 2)
Que. 6
AIM: To create a Simulink model of 3x3 matrix multiplication of two matrix inputs.
OBJECTIVES :
- To create two 3x3 inputs matrices.
- To perform matrix multiplication.
SIMULINK MODEL :

BLOCKS USED :
- Constants
- Product
- Display
RESULTS :
CONCLUSION :
As a result, we have created two 3x3 input matrices which on multiplication gives the desired output which is shown in the display.
Que. 7
AIM: To create a Simulink model which performs Logical Operations.
OBJECTIVES :
- To create two constant inputs.
- To perform logical operations such as AND, OR, NOT, NAND, NOR and XOR.
SIMULINK MODEL :

BLOCKS USED :
- Constant
- Logical Operators (AND, OR, NOT, NAND, NOR, XOR)
- Display
RESULTS :
CONCLUSION :
We have created a Simulink model which deals with all the logical operators and gives the result based on Boolean's data type.
Que. 8
AIM: To create a Simulink model using Relational Operators.
OBJECTIVES :
- To specify two input constants.
- To perform relational operations which includes equal to, not equal to, less than, less than equal to, greater than, greater than equal to.
- To change the data type of both constant blocks to a single datatype.
SIMULINK MODEL :

BLOCKS USED :
- Constant
- Relational Operator (which includes equal to, not equal to, less than, less than equal to, greater than, greater than equal to)
- Display
RESULTS :

CONCLUSION :
We have created a Simulink model that deals with all the relational operators and gives the result and along with this, it also changes its datatypes of both the constant blocks to a single datatype.
Que. 9
AIM: To create a Simulink model using logical and relational operators.
OBJECTIVES :
- To implement logic using logical and relational operators.
SIMULINK MODEL :

BLOCKS USED :
- Constants
- Equal to
- AND
- OR
- NOT
- Display
RESULTS :

CONCLUSION :
As a result, we have implemented the given logic using logical and relational operators with the help of a Simulink model.
- Mayur SalunkheThank you so much bro.it help me alot