matlab-manage-sparameters

Official

Load, analyze, plot, and export S-parameters

Authormatlab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill prevents slow, error-prone manual handling of RF S-parameter files by guiding you through loading, inspecting, visualizing, validating, and exporting S-parameter data in MATLAB using RF Toolbox.

Core Features & Use Cases

  • Touchstone and sparameters I/O: Load Touchstone files (.s1p, .s2p, .s4p, .snp) into MATLAB’s sparameters object and extract values with rfparam.
  • Visualization and reporting: Plot magnitude, phase, and specific S-parameters using rfplot and smithplot, and generate quality-focused diagnostics.
  • RF data transformations: Interpolate to new frequency grids with rfinterp1 and re-reference impedances with newref.
  • Quality checking and correction: Evaluate passivity and causality with ispassive and iscausal, and enforce passivity with makepassive.
  • Export back to Touchstone: Write results using rfwrite with correct formats for round-trip fidelity.
  • Use case: You have a measured .s2p dataset and need to (1) plot S11 and S21, (2) check passivity/causality, (3) interpolate onto a simulation frequency grid, and (4) export a clean file for downstream analysis.

Quick Start

Use the skill to load 'default.s2p', extract S21 in dB, plot S11 on a Smith chart, then export the updated figures.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: matlab-manage-sparameters
Download link: https://github.com/matlab/matlab-agentic-toolkit/archive/main.zip#matlab-manage-sparameters

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.