0% found this document useful (0 votes)
11 views27 pages

MATLAB Experiments by Ritik Jain

This document is an engineering analysis and design practical file submitted by Ritik Jain to Mr. Alok Agrawal. It includes 7 experiments conducted in MATLAB and Simulink to analyze circuits, solve equations, and plot various signals. The experiments cover topics like creating and manipulating matrices, solving equations, numerical integration, circuit response analysis, and rectifier circuit modeling and output analysis. Ritik demonstrates solving problems using MATLAB code and provides conclusions for each experiment on the concepts and skills learned.

Uploaded by

ronak828743
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)
11 views27 pages

MATLAB Experiments by Ritik Jain

This document is an engineering analysis and design practical file submitted by Ritik Jain to Mr. Alok Agrawal. It includes 7 experiments conducted in MATLAB and Simulink to analyze circuits, solve equations, and plot various signals. The experiments cover topics like creating and manipulating matrices, solving equations, numerical integration, circuit response analysis, and rectifier circuit modeling and output analysis. Ritik demonstrates solving problems using MATLAB code and provides conclusions for each experiment on the concepts and skills learned.

Uploaded by

ronak828743
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

ENGINEERING ANALYSIS AND DESIGN

PRACTICAL FILE

COURSE CODE :- ICICC10

SESSION:2024-2025

SUBMITTTED TO: MR. ALOK AGRAWAL


SUBMITTED BY: RITIK JAIN
BRANCH: ICE-(2)
ROLL NO. : 2022UIC3603

1 | Page
EXPERIMENT-1A
OBJECTIVE:-
1(a). Write the MATLAB code to draw a 5X5 identity matrix and
zero matrix.
Software used :- MATLAB
Code :-

Output:-

Conclusion: -
From this experiment we have learnt that, how to create a matrix and its
various types.

4 | Page
EXPERIMENT-1B
OBJECTIVE:-
1(b).

Software used :- MATLAB


Code :-

Output:-

Conclusion: -
From this experiment we have learnt that,
How to write a mathematical equation and solve it using MATLAB.

5 | Page
EXPERIMENT-1C
OBJECTIVE:-
1(c).

Software used :- MATLAB


Code :-

Output:-

6 | Page
Conclusion: - We have learnt about the function of matrix,
printing specific row and column.

7 | Page
EXPERIMENT-1D
OBJECTIVE:-
1(d).

Software used :- MATLAB


Code :-

Output:-

Conclusion: - From this experiment we have learnt that, how to


solve a logarithmic equation using MATLAB

8 | Page
EXPERIMENT 2A

Software Used : MATLAB

CODE:

9 | Page
OUTPUT:

Conclusion: - From this experiment we have learnt that, how to plot a graph and
use subplot function and also how to define x label and y label function.

7 | 10
P a|g Pe a g e
EXPERIMENT 2B

10 | P a g e

Software Used - MATLAB

CODE:

11 | P a g e
Conclusion: From this experiment we have learnt that, how to use
linspace function and plot 3D curves using mesh and meshgrid
functions.

12 | P a g e
EXPERIMENT-3(A)
OBJECTIVE:-
solve the ordinary differential equation:
dydt= (t^3-(2*y))/t, 1<=t<=3 with y=4.2 at t=1.
Software used :- MATLAB

Code :-

Output:-

RITIK JAIN

Conclusion: - From this experiment we have learnt that, how to solve a


differential equation using MATLAB and plotting of ODE
14 | P a g
EXPERIMENT-4
OBJECTIVE: -
4. Solve the following numerical integration by trapezoidal,
Simpson’s 1/3 and Simpson’s 3/8 rule.

Software used: - MATLAB


Code: -

15 | P a g e
Output: -

GRAPH (LEGENDS): - 1. FUNCTION


2. TRAPEZOIDAL RULE
3. SIMPSON’S 1/3 RULE
4. SIMPSON’S 3/8 RULE
16 | P a g e
RITIK JAIN

Conclusion: - From this experiment we have learnt that, how to


evaluate numerical integration using trapezoidal rule,
Simpson’s 1/3 rule, and Simpson’s 3/8 rule.

17 | P a g e
EXPERIMENT-5(A)
OBJECTIVE:
5(a).

Software used: - MATLAB


Code: -

Output:-

Conclusion: - From this experiment we have learnt that, how to solve a


differential equation for I in terms of L, R, C and t.

18 | P a g e
EXPERIMENT-5(B)
OBJECTIVE:
5(b).

Software used: - MATLAB

Code: -

19 | P a g e
Output:-
RITIK JAIN 2022UIC3603

Conclusion: - From this experiment we have learnt that, how to solve


a differential equation and substitution of L, R, C, t values using
subs command. Along with this we learnt plotting of an
underdamped graph.

20 | P a g e
EXPERIMENT-5(C)
OBJECTIVE:
5(c).

Software used: - MATLAB

Code: -

21 | P a g e
Output:-
RITIK JAIN 2022UIC3603

Conclusion: - From this experiment we have learnt that, how to solve


a differential equation and substitution of L, R, C, t values using
subs command. Along with this we learnt plotting of an
overdamped graph.

22 | P a g e
EXPERIMENT-5(D)
OBJECTIVE:
5(d).

Software used: - MATLAB

Code: -

23 | P a g e
Output:-
RITIK JAIN 2022UIC3603

Conclusion: - From this experiment we have learnt that, how to solve


a differential equation and substitution of L, R, C, t values using
subs command. Along with this we learnt plotting of a critically-
damped response.

24 | P a g e
EXPERIMENT-6
OBJECTIVE: -
[Link] the output response of following circuit:-

Software used: - MATLAB(SIMULINK)


Circuit: -

RITIK JAIN 2022UIC3603

25 | P a g e
Output:-

Conclusion: - From this experiment we have learnt that, how to plot a


output response of a circuit and analysis of circuit.

26 | P a g e
EXPERIMENT-7(A)
OBJECTIVE: -
7(a). To Develop a Simulink Model for The Half Wave Rectifier and
Plot Output and Input Voltage, Current, Diode Voltage, Rms
Voltage and Average Voltage.
Software used: - MATLAB
Theory: - Half-wave rectifiers transform AC voltage to DC voltage.
A halfwave rectifier circuit uses only one diode for the transformation.
It is defined as a type of rectifier that allows only one-half cycle of an
AC voltage waveform to pass while blocking the other half cycle.
Circuit: -

RITIK JAIN 2022UIC3603

27 I P a g e
Output: -
RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

Conclusion: - From This Experiment We Have Learnt That ,


How To Make A Half Wave Rectifier And Plot It’s Input
And Output Voltage And Current . How To Plot Diode
Voltage And Rms Voltage And Average Voltage.

28 I P a g e
EXPERIMENT-7(B)
OBJECTIVE: -
7(b). To Develop a Simulink Model for the full Wave Bridge Rectifier
and Plot Output and Input Voltage, Current, Diode Voltage, Rms
Voltage and Average Voltage.
Software used: - MATLAB
Theory: - A semiconductor device that is used to change the complete
AC cycle into pulsating DC is known as a full-wave rectifier. This
circuit uses the full wave of the I/p AC signal whereas the half-wave
rectifier uses the half-wave. This circuit is mainly used to overcome the
drawback of half- wave rectifiers like low-efficiency drawback.

Circuit: -
RITIK JAIN 2022UIC3603

29 I P a g e
Output: -

RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

RITIK JAIN 2022UIC3603

Conclusion: - From This Experiment We Have Learnt that,


How To Make A Full Wave Bridge Rectifier And Plot It’s Input And
Output Voltage And Current . How To Plot Diode Voltage And Rms
Voltage And Average Voltage.

30 I P a g e

You might also like