Main Content

voltagePort

Create voltage source with N-ports

Since R2021b

Description

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.

example

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

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

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.

Version History

Introduced in R2021b