Professional Documents
Culture Documents
DE-40 EE || Semester 4
Spring 2020
Lab Report # 06
Submitted by Reg No
Electrical Engineering
Syndicate ‘B’
Task 1:
MATLAB Workings:
Scope 1:
Scope 2:
Scope 3:
Scope 4:
Scope 5:
Scope 6:
Scope 7:
Scope 8:
Scope 9:
Scope 10:
Scope 11:
Functions:
-The Min-Max Running Resettable block outputs the minimum or maximum
of all past inputs u. You specify whether the block outputs the running
minimum or maximum with the Function parameter. The block can reset its
state based on an external reset signal R.
-The Min-Max block outputs either the minimum or the maximum element
or elements of the inputs.
-The Dot Block, it takes the dot product of the input waves and gives the
result.
-The Sqrt Block, it takes the square root of the input wave.
-The Bias Block, it gives us shift of the input wave. Such that if we have
maximum amplitude on x-axis was on 0 then u+2 gives us a shift of 2.
-The Abs Block, gives the absolute value of the input. Meaning it makes the
negative parts positive such that the whole output wave has positive values.
Task 2:
MATLAB Workings:
Scope 1:
Scope 2:
Scope 3:
Scope 4:
Scope 5:
Scope 6:
Scope 7:
Scope 8:
Functions:
-The Rounding Function block rounds each element of the input signal to
produce the output signal. You select the type of rounding from the Function
parameter list. The name of the selected function appears on the block.
-The Product and Product of Elements Block, it takes the products of the
input waves.
-The Subtract Block, it subtracts the first input from the second one.
-The Reciprocal Sqrt Blocks, it gives the reciprocal of square root of the
input wave.
- Sign (Simulink Reference) The Sign block indicates the sign of the input:
The output is 1 when the input is greater than zero. The output is 0 when the
input is equal to zero.
Task 3:
MATLAB Workings:
Scope 1:
Scope 2:
Scope 3:
Scope 4:
Functions:
-The Trigonometric Function block performs numerous common
trigonometric functions.
-We can select one of these functions from the Function list: sin, cos, tan,
asin, acos, atan, atan^2, sinh, cosh, and tanh. The block output is the result of
the operation of the function on the input.
-The Mux Block, all the inputs are shown in the same output graph.