Model Based
Model Based
Date of
Sl No Session Content Page No Remarks
Performances
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING
Sl.
Name Specification Qnty
No.
Basic of MATLAB
MATLAB is a software package for high performance numerical computation and visualization. Using
MATLAB, you can analyze data, develop algorithms, and create models and applications.
MATLAB stand for MATRIX LABORATORY, because in MATLAB environment all the
inputs are taken in terms of matrix.
A matrix can be entered to MATLAB with in a square bracket.
For a matrix with more than one row, then it need to put a semicolon (;) after elements of each
row.
Special matrix
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
PROGRAM-1
clc;
clear all;
close all;
a=zeros(5,5);
for i=1:5
for j=1:i
a(i,j)=j;
end
end
disp('The pattern is as below :');
disp(a);
PROGRAM-2
clc;
clear all;
close all;
a=zeros(5,5);
for i=1:5
for j=6-i:5
a(i,j)=i+j-5;
end
end
disp('The pattern is as below :');
disp(a);
PROGRAM-3
clc;
clear all;
close all;
a=char(32*zeros(5,5));
for i=1:5
for j=1:i
a(i,j)=char(48+j);
end
end
disp('The pattern is as below :');
disp(a);
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Menu
The command menu( 'MenuName', 'optionl', 'option2',.. .) creates an on-screen menu with the
MenuName and lists the options in the menu. The user can select any of the options using the mouse or
the keyboard, depending on the computer. The implementation of this command on Macs and PCs
creates a nice window menu with buttons.
PROGRAM
clc;
clear all;
close all;
var=menu('CALCULATOR','ACQ','ADD','SUB','MUL');
% var=calculator('acq','add','sub','mul');
if var==1
x=input('enter 1st no.');
y=input('enter 2nd no.');
end
if var==2
x=input('enter 1st no.');
y=input('enter 2nd no.');
z=x+y;
disp(z);
end
if var==3
x=input('enter 1st no.');
y=input('enter 2nd no.');
w=x-y;
disp(w);
end
if var==4
x=input('enter 1st no.');
y=input('enter 2nd no.');
s=x*y;
disp(s);
end
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
PROGRAM
OUTPUT
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Basic of Simulink
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Automatic fan speed regulator automatically regulates the speed of the fan according to the temperature
inside the room. Due to sudden changes in atmosphere because of pollution, we feel hot and after some
time we feel cold. And we have to regulate the speed of fan..
StateFlow
Stateflow (developed by MathWorks) is a control logic tool used to model reactive systems via state
machines and flow charts within a Simulink model. Stateflow uses a variant of the finite-state machine.
Stateflow ToolBox
Component Used from following path:
Simulink/Stateflow/Chart
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
This simple transistor based water level indicator circuit is very useful to indicate the water levels in a
tank. Whenever tank gets filled, we get alerts on particular levels.
StateFlow
Stateflow (developed by MathWorks) is a control logic tool used to model reactive systems via state
machines and flow charts within a Simulink model. Stateflow uses a variant of the finite-state machine.
Stateflow ToolBox
Component Used from following path:
Simulink/Stateflow/Chart
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Halfwave Rectfier
The Half wave rectifier is a circuit, which converts an ac voltage to dc voltage. The primary of the
transformer is connected to ac supply. This induces an ac voltage across the secondary of the
transformer. During the positive half cycle of the input voltage the polarity of the voltage across the
secondary forward biases the diode. As a result a current IL flows through the load resistor, RL. The
forward biased diode offers a very low resistance and hence the voltage drop across it is very small. Thus
the voltage appearing across the load is practically the same as the input voltage at every instant.
SIMScape ToolBox
Component Used from following path:
Simulink/Simscape/Foundation Library/Electrical/Electrical Elements
Simulink/Simscape/Foundation Library/Electrical/Electrical Sensors
Simulink/Simscape/Utilities
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Amplitude Modulation
Amplitude modulation (AM) is a one of the conventional technique used to transmit message signals
using a carrier wave. The amplitude or strength of the high frequency carrier wave is modified in
accordance with amplitude of the message signal.
Generating AM in Simulink
For generating AM we just have to implement the equation of AM in block level.
Blocks Required
Analyzing the equation we need,
View Block
Simulink –> Sink –> Scope
Product and Summer Block
Simulink –> Math Operations–> Product
Simulink –> Math Operations–> Summer
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100
Sl.
Name Specification Qnty
No.
Although point and line detection certainly are important in any discussion on image segmentation, edge
detection is by far the most common approach for detecting meaningful discontinuities in intensity
values. Such discontinuities are detected by using first- and second-order derivatives
Blocks Required
Edge Detection
Video Viewer
(SIMULINK MODEL)
(OUTPUT)
Conclusion
ASSESSMENT
Marks
MARKING PROCEDURE Full Mark Remarks
Obtained
Sketch 10
Sequence of Operation 10
Accuracy &
Use of Tools & Equipment 10
Process
Safety Observation 5
Observation (5)
Report Calculation (10) 25
Graph(10)
Viva 10
Inference 30
Total 100