Main Content

voltagePort

Create voltage source with N-ports

Description

example

v = voltagePort(N) creates a voltage port source with N number of ports that you can use for excitation in an N-port PCB component.

v = voltagePort(___,Name=Value) creates a voltage port source using additional name-value arguments.

Examples

collapse all

Create a voltage source with three ports.

v = voltagePort(3)
v = 
  voltagePort with properties:

         NumPorts: 3
      FeedVoltage: [1 0 0]
        FeedPhase: [0 0 0]
    PortImpedance: 50

Input Arguments

collapse all

Number of ports, specified as a positive scalar.

Data Types: double

Name-Value Arguments

Example: FeedVoltage=1

Number of ports, specified as a positive scalar.

Magnitude of the voltage applied at each port, specified as a positive scalar or vector.

Phase shift applied to the voltage at each port in degrees, specified as a positive scalar or vector.

Impedance to terminate each port in ohms, specified as a positive scalar or vector.

Introduced in R2021b