Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Laboratorio 4

Fundamentos de Circuitos
Ing. Electrónica
Universidad Santo Tomás

Docente: David Martínez Ph.D.

April 11, 2023

Nodal Analysis Using MATLAB

Ejercicio 1
Node Analysis Using MATLAB. For the circuit shown in figure, find the values for all the
indicated variables using nodal analysis in the following ways:
1. Mathematically and using the Cramer’s rule.
2. Using MATLAB to solve the equation system. In this case, you should have into account
that the matrix notation for the system is: AV = B, with A as the voltage coefficients
and V as the unknown voltages. B is the vector containing the constants that usually
appear in the right side of the equations. According to this, you can determine V using:

𝑉 = 𝐴−1 𝐵, (1.1)

where 𝐴−1 is the inverse matrix of A. In MATLAB, the code to find it is 𝑉 = 𝑖𝑛𝑣(𝐴)*𝐵.
Investigate how to create the matrices and vectors necessary to solve this part of the
exercise.
Compare the obtained results of both methods.

Fig. 1: Nodal Analysis-Exercise 1.

1
Ejercicio 2
For the circuit shown in the figure, use nodal analysis and MATLAB to find the voltages. Don’t
solve the matrix system by hand, only use MATLAB.

Fig. 2: Nodal Analysis-Exercise 2.

Ejercicio 3
Mount the circuit of exercise 2 in Multisim and verify the obtained results using MATLAB.
Show the results of this verification in the final report.

Ejercicio 4
Show the mathematical results in the final report!! (THIS IS MANDATORY!!).

Ejercicio 5
Show and explain the results to the teacher each time that you finish each exercise .

Ejercicio 6
Documente los resultados obtenidos en cada punto y preséntelos en un informe en formato
IEEE (Escriba un abstract en Inglés).

You might also like