Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Computes S-parameters, insertion and return loss, fields, currents, and mesh and solver settings for RF PCB components in MATLAB.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
I want to plot the 3D far-field electric field radiation pattern for a PCB antenna element `antObj` at 2.4 GHz without returning output variables.
Invokes EHfields with ViewField="E"
3 of 3 safety checks passed
matlab-assemble-pcb-layoutmatlab-design-pcb-transmission-linematlab-manage-pcb-materialmatlab-integrate-pcb-circuitmatlab-read-pcb-layoutmatlab-manage-pcb-material — substrate/conductor setup; then a design skill or matlab-assemble-pcb-layout — create the componentmatlab-optimize-pcb-design — tune dimensions if specs not met → matlab-integrate-pcb-circuit — cascade into larger network → matlab-write-pcb-layout — export Gerber| Task | Code |
|---|---|
| S-parameters (MoM) | sp = sparameters(obj, freq, 'SweepOption', 'interp') |
| S-params with port Z0 | sp = sparameters(obj, freq, 50, 'SweepOption', 'interp') |
| Interpolating sweep | sp = sparameters(obj, freq, 50, 'SweepOption', 'interp') |
| Interp with gradient | sp = sparameters(obj, freq, 50, 'SweepOption', 'interpWithGrad') |
| Plot S-params | rfplot(sp) or rfplot(sp, [2 1], 1) |
| Current distribution | current(obj, fc) |
| Charge distribution | charge(obj, fc) |
| Feed current | feedCurrent(obj, freq) |
| E/H fields | [e, h] = EHfields(obj, fc, points) |
| Set mesh | mesh(obj, 'MaxEdgeLength', val) |
| Memory estimate | memoryEstimate(obj, fc) |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.