0% found this document useful (0 votes)
31 views

Assignment 02: Mesh Solving

This document contains an assignment for a circuit simulation and analysis course. It presents the mesh analysis of a 3 mesh circuit, setting up the KVL equations for each mesh in matrix form. It then uses Matlab to solve the matrix equation, obtaining the current values in each mesh as i1 = 204.1 mA, i2 = -479.3 mA, i3 = -807.7 mA. The Matlab code used to solve the system of equations is also included.

Uploaded by

Mohan Dakshina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Assignment 02: Mesh Solving

This document contains an assignment for a circuit simulation and analysis course. It presents the mesh analysis of a 3 mesh circuit, setting up the KVL equations for each mesh in matrix form. It then uses Matlab to solve the matrix equation, obtaining the current values in each mesh as i1 = 204.1 mA, i2 = -479.3 mA, i3 = -807.7 mA. The Matlab code used to solve the system of equations is also included.

Uploaded by

Mohan Dakshina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment 02

Name: De silva GWMD

Index: 12096

course: circuit simulation and analysis

Mesh solving
K.V.L for mesh 1
51 2 = 1.5 (1)
For mesh 2
11 + 82 53 = 0 (2)
For mesh 3
121 52 + 653 = 0 (3)
Simultaneous equations in standard form
51 2 + 03 = 1.5
11 + 82 53 = 0
121 52 + 653 = 0
In matrix form
1
5 1 0
1.5
[1 8 5] (2 ) = ( 0 )
3
12 5 6
0
This equations can be solved by using matlab
Solve for 1 , 2 3 , we get
=. , = . , = .
Matlab code
1
5 1 0
1.5
= [1 8 5] Resistance matrix, = ( 0 ) voltage matrix and = (2 ) current matrix
3
12 5 6
0

>> = [1.5 ; 0 ; 0]
= [5 1 0 ; 1 8 5 12 5 6]
= ()
= 0.2041
0.4793
0.8077

You might also like