Skip to content

MATLAB code that finds currents and potential differences in any AC/DC circuits with difference of potential sources.

License

Notifications You must be signed in to change notification settings

Alexsimulation/circuit_solver

Repository files navigation

circuit_solver

MATLAB code that finds currents and potential differences in any AC/DC circuit with potential sources.

Program files:

  • circuit.m: class for the circuit object. Allows the user to define a circuit, solve for its parameters and get the results.
  • dioGraph.m: class for the directed graph object that stores the circuit geometry.

Examples:

  • Example 1: Simple DC circuit. Learn how to define the circuit geometry, potential sources and resistances, and get the results.
  • Example 2: AC circuit. See how impedance and phasors are given to the solver.

About

MATLAB code that finds currents and potential differences in any AC/DC circuits with difference of potential sources.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages