0% found this document useful (0 votes)
8 views12 pages

Panakj - BSA - 1 - 2 - Edited - Edited (3) - Edited

Uploaded by

230105015
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)
8 views12 pages

Panakj - BSA - 1 - 2 - Edited - Edited (3) - Edited

Uploaded by

230105015
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/ 12

SESSION – 2024-25

NAME: VIJAY CHAURASIYA

2nd B. Tech Electrical Engineering

ROLL NO.: 230105059

BSA (Basic System Analysis) Lab File


NEE-203

Teachers’ name: ________________________________


________________________________
INDEX:

Name: VIJAY CHAURASIYA Roll number: 230105059

S.no. Topic Date of Date of Sign.


experiment Submission
Date:
Experiment 01

Aim:
To do mesh analysis on the given circuit diagram and to find the current in the loops using
MATLAB. Verify and show the respective outputs.

Required:
A MATLAB based System.

Theory:
Any closed path in a circuit is known as a loop. In mesh analysis, we solve the circuit by
defining meshes in the circuit. A mesh is a loop that does not have any other inner loop or it is
the smallest possible loop in the circuit. Mesh analysis is only applicable to the planar network.
Mesh Analysis is generally based on KVL.
KVL or Kirchoff’s Voltage Law defines that for any closed loop the algebraic sum of all
the voltages and the voltage drops in the loop is equal to 0. Under this law generally the
respective current directions are assigned in the respective loops and equations are made out
of it using KVL and thereafter solving them simultaneously to find the respective current
elements.

(1)
MATLAB code:

>> R12 = 24; R22 = 6; R11 = 4; R23 = 6; R33 = 10; R34 = 10; R44 = 2;

R12 =
24

R22 =
6

R11 =
4

R23 =
6

R33 =
10

R34 =
10

R44 =
2

R=
34 -6 0
-6 22 -10
0 -10 22

>> R^-1

ans = (2)
0.0313 0.0108 0.0049
0.0108 0.0610 0.0277

0.0049 0.0277 0.0581

>> V= [24; -6; -50]


V=
24
-6
-50

>> W=R^-1
W=
0.0313 0.0108 0.0049
0.0108 0.0610 0.0277
0.0049 0.0277 0.0581

>> W*V
ans =
0.4423
-1.4938
-2.9517

Calculation:

(3)
(4)
Result:
The respective currents in the loops of the circuit are:
i1= i2= i3=

Precautions:
 Check all the equations properly using KVL for every loop in the circuit.
 Make the matrices carefully for every resistance.
 Use proper function names in the MATLAB code.

(5)
Date:
Experiment 02

Aim:
To find the Eigen Values and Eigen Vectors of the given matrix. Print the output and
verify the results.

Required:
A MATLAB based system.

Theory:
Eigenvalues are associated with eigenvectors in Linear algebra. Both terms are used in the
analysis of linear transformations. Eigenvalues are the special set of scalar values that is
associated with the set of linear equations most probably in the matrix equations. The
eigenvectors are also termed as characteristic roots. It is a non-zero vector that can be changed
at most by its scalar factor after the application of linear transformations. And the
corresponding factor which scales the eigenvectors is called an eigenvalue.
In MATLAB for a vector matrix A if its eigen values in a diagonal matrix are represented
as D and its eigen vectors as V then the equation A*V = V*D satisfies our answer for eigen
values and eigen vectors.

MATLAB code:
>> A = [ 1, 2, 3; 4, 5, 6; 7, 8, 9 ]
A=
1 2 3
4 5 6
7 8 9

>> eig(A)
ans =
16.1168
-1.1168

-0.0000 (6)
>> A^-1
ans =
1.0e+16 *
-0.4504 0.9007 -0.4504
0.9007 -1.8014 0.9007
-0.4504 0.9007 -0.4504

>> [V, D] = eig(A)


V=
-0.2320 -0.7858 0.4082
-0.5253 -0.0868 -0.8165
-0.8187 0.6123 0.4082

D=
16.1168 0 0
0 -1.1168 0
0 0 -0.0000

>> A*V
ans =
-3.7386 0.8776 -0.0000
-8.4665 0.0969 -0.0000
-13.1944 -0.6839 0

>> V*D
ans =
-3.7386 0.8776 -0.0000
-8.4665 0.0969 0.0000
-13.1944 -0.6839 -0.0000

(7)
Calculation:

(8)
(9)
Result:
The Eigen values of the given matrix is:
The Eigen vectors of the matrix are:

Precautions:
 Use proper function names for the MATLAB code.
 Check all the assigned values to the variables to get required outputs.
 Carefully verify the results obtained for the eigen values and vectors through
MATLAB.

(10)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy