Calculate current at feed port
calculates the current in A/m at the feed port of a PCB component at the
specified frequency. The feed current when multiplied by the PCB impedance gives
the voltage across the PCB component.
calculates the feed current at the feed port of the PCB component using
additional name-value arguments.
Calculate Feed Current of Rat-Race Coupler
Create a rat-race coupler with default properties.
coupler = couplerRatrace;
Set the feed voltage and phase at the ports of the rat-race coupler:
v = voltagePort(4); v.FeedVoltage = [1 0 1 0]; v.FeedPhase = [90 0 270,0];
Calculate the feed current at 3 GHz.
If = feedCurrent(coupler,3e9)
If = 1×4 complex 0.0102 + 0.0004i 0.0032 - 0.0060i -0.0002 + 0.0002i -0.0050 + 0.0051i
rfpcbobject — PCB component object
RF PCB object
PCB component object, specified as an RF PCB object. For a complete list of the PCB components and shapes, see PCB Components Catalog and Custom Geometry and PCB Fabrication.
frequency — Frequency to calculate feed current
scalar | vector
Frequency to calculate the feed current, specified as a scalar integer in Hz or as a vector with each element specified in Hz.
excitation — Excitation using voltage source
string (default) | function handle
Excitation using as voltage source, specified function handle from the
Introduced in R2021b