matlab-analyze-rf-amplifier

Analyze RF amplifier stability, gain, and matching from S-parameter data using RF Toolbox.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-analyze-rf-amplifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-analyze-rf-amplifier
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/rf-and-mixed-signal/matlab-analyze-rf-amplifier
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-analyze-rf-amplifier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you evaluate RF amplifier behavior from S-parameter data by determining stability (unconditional vs conditional), selecting the right gain metric, and computing the reflection coefficients needed for matching design while validating passivity and causality.

Core Features & Use Cases

  • Stability analysis: Compute Rollett stability factor K and Edwards-Sinsky mu to classify unconditional stability conditions across frequency.
  • Gain evaluation: Calculate maximum available gain (Gmag), maximum stable gain (Gmsg), transducer gain, available gain, and operating power gain from appropriate source/load terminations.
  • Matching-oriented outputs: Derive input/output reflection coefficients (gammain, gammaout) and simultaneous conjugate match coefficients (gammams, gammaml) for impedance targets.
  • Data quality checks: Verify passivity and causality and handle common gotchas (e.g., Gmag NaNs for conditional stability, linear gain vs dB conversion).

Quick Start

Use the matlab-analyze-rf-amplifier skill to analyze stability, compute Gmag/Gmsg, and generate conjugate-match reflection coefficients from your amplifier S-parameters in a single workflow.

Frequently Asked Questions about matlab-analyze-rf-amplifier

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate RF amplifier stability from S-parameters?

To calculate RF amplifier stability from S-parameters, compute the Rollett stability factor K and Edwards-Sinsky stability mu to classify unconditional stability conditions across the operating frequency range.

How do I compute matching reflection coefficients for RF amplifier design?

Derive input and output reflection coefficients (gammain, gammaout) along with simultaneous conjugate match coefficients (gammams, gammaml) from S-parameter data to establish impedance matching network targets.

What is the difference between maximum available gain and maximum stable gain?

Maximum available gain (Gmag) and maximum stable gain (Gmsg) are evaluated from source/load terminations, where Gmag returns NaNs under conditional stability conditions and requires linear-to-dB conversion for accurate comparison.

How do I verify passivity and causality of S-parameter data?

Verify S-parameter data passivity and causality by applying ispassive, makepassive, and iscausal checks across frequency to ensure data validity before using it for RF amplifier stability and gain analysis.

Why does my power gain calculation return NaNs in MATLAB?

Power gain calculations return NaNs when computing maximum available gain (Gmag) under conditional stability conditions, requiring you to select the correct gain-type argument ordering and apply proper linear-to-dB conversion.