Node Voltages Calculation in Resistive Circuit using Matlab

Determine the voltage at each node of the circuit: FROM ABOVE CIRCUIT, we can write the following set of equations: $\begin{matrix}   \begin{align}  & {{I}_{{{R}_{4}}}}={{I}_{{{R}_{1}}}}+{{I}_{{{R}_{3}}}} \\ & {{I}_{{{R}_{2}}}}={{I}_{{{R}_{3}}}} \\ & {{V}_{1}}={{V}_{A}} \\\end{align} & \cdots  & (1)  \\\end{matrix}$ Or \[\begin{matrix}   \begin{align}  & \frac{{{V}_{C}}}{{{R}_{4}}}=\frac{{{V}_{1}}-{{V}_{C}}}{{{R}_{1}}}+\frac{{{V}_{B}}-{{V}_{C}}}{{{R}_{3}}} \\ & \frac{{{V}_{1}}-{{V}_{B}}}{{{R}_{2}}}=\frac{{{V}_{B}}-{{V}_{C}}}{{{R}_{3}}} \\\end{align} & \cdots  & (2)  \\\end{matrix}\] We can rewrite …

Read More »

Series RL Circuit Analysis using Matlab

Determine the voltage across the inductor in series RL circuit : Let us compute the voltage across the capacitor for t≥0 using the following expression: ${{v}_{L}}(t)={{V}_{s}}{{e}^{-t/\tau }}u(t)$ Whereas the source voltage is 1V and time constant τ=L/R. You May Also Read: Series RL Circuit Analysis Theory It’s time to write …

Read More »

RL Circuit Analysis using Matlab

RL Circuit Voltage

Determine the voltage across the inductor in an RL circuit: Let us compute the voltage across the inductor for t≥0 using the following expression: ${{v}_{L}}(t)=-R{{I}_{lo}}{{e}^{-t/\tau }}u(t)$ Whereas the inductor initial current is 1mA and time constant τ=L/R=5ms. You May Also Read: Series RL Circuit Analysis Theory It’s time to write …

Read More »

Capacitor Charging Equation | RC Circuit Charging | Matlab

In this tutorial, we will Calculate Voltage Across the Capacitor in RC Circuit Using Matlab.RC circuit charging expression is also discussed. Determine the voltage across the capacitor: Let us compute the voltage across the capacitor for t≥0 using the following expression: ${{v}_{C}}(t)={{V}_{s}}(1-{{e}^{-t/\tau }})u(t)$ Whereas the source voltage is 1V and …

Read More »

RC Circuit Analysis using Matlab

Determine the voltage across the capacitor: Let us compute the voltage across the capacitor for t≥0 using the following expression: ${{v}_{C}}(t)={{V}_{c0}}{{e}^{-t/\tau }}u(t)$ Whereas the capacitor initial voltage is 5V and time constant τ=RC=0.2s. You May Also Read: Series RC Circuit Analysis Theory It’s time to write some code in Matlab …

Read More »

LC Circuit Analysis using Matlab

Determine the voltage across the capacitor and the current through the inductor: Using the following formulae, we can easily obtain the voltage across the capacitor and current through an inductor for time t≥0, ${{i}_{L}}(t)=-\sqrt{\frac{C}{L}}{{V}_{c0}}\sin (\frac{1}{\sqrt{LC}}t)u(t)$ ${{v}_{C}}(t)={{V}_{c0}}\cos (\frac{1}{\sqrt{LC}}t)u(t)$ Where ${{V}_{co}}=1V\text{        }\therefore \text{Capacitor Initial Voltage}$ Now, let us write Matlab code to …

Read More »

Digital Multimeter Working Principle

    Fig.1: Digital Multimeter There are two main types of multimeters.  One of the first and oldest multimeters is the analog meter, (Figure 2) and the other, now more widely used meter is the digital multimeter (Figure 1). Fig.2: Analog Multimeter Analog Multimeter Analog meters are a multifunctional multimeter that …

Read More »

Exponential Fourier Series with Solved Example

Replacing the sinusoidal terms in the trigonometric Fourier series by the exponential equivalents, $\cos (n{{\omega }_{o}}t)=\frac{1}{2}({{e}^{jn{{\omega }_{o}}t}}+{{e}^{-jn{{\omega }_{o}}t}})$ And $\sin (n{{\omega }_{o}}t)=\frac{1}{j2}({{e}^{jn{{\omega }_{o}}t}}-{{e}^{-jn{{\omega }_{o}}t}})$ Now, let us put the above exponential equivalents in the trigonometric Fourier series and get the Exponential Fourier Series expression: You May Also Read: Fourier Transform and …

Read More »

Current Through a Capacitor | Matlab

We can define the relationship between capacitor’s voltage and current as the amount of current flows through a capacitor depends on two factors: the capacitance and how rapidly the voltage is either ascending or descending. If the voltage goes up quickly, a large amount of current rushes through the capacitor. …

Read More »