Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Matlab Design Digital Filter

skill · matlab/matlab-agentic-toolkitNOASSERTION licenceAudited 14 Oct 2026 · source 58967e6f32b5

★ 1,164pushed 5 days agoversion 1.1
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 58967e6
1,164repo stars · whole matlab/matlab-agentic-toolkit

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 58967e6f32b5 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Design and validate digital filters in MATLAB. Use when cleaning up noisy signals, removing interference, filtering signals, designing FIR/IIR filters (lowpass/highpass/bandpass/bandstop/notch), or comparing filters in…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Matlab Design Digital Filter (matlab/matlab-agentic-toolkit)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/matlab/matlab-design-digital-filter

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 58967e6f32b5 · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publishermatlab GitHub organizationOwner of the repository this skill is read from
  • Source foldermatlab/matlab-agentic-toolkit/skills-catalog/signal-processing/matlab-design-digital-filterThe exact folder we audited
  • LicenceNOASSERTIONAs the repository states it
  • Commit pinned for this verdict58967e6f32b5A new audit runs when the source changes
  • Repository statusNot archivedLast push 5 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Design and validate digital filters in MATLAB. Use when cleaning up noisy signals, removing interference, filtering signals, designing FIR/IIR filters (lowpass/highpass/bandpass/bandstop/notch), or comparing filters in…

---
name: matlab-design-digital-filter
description: >
  Design and validate digital filters in MATLAB. Use when cleaning up noisy signals,
  removing interference, filtering signals, designing FIR/IIR filters
  (lowpass/highpass/bandpass/bandstop/notch), or comparing filters in Filter Analyzer.
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
  author: MathWorks
  version: "1.1"
---

# Design Digital Filters in MATLAB

Design, implement, and validate digital filters using Signal Processing Toolbox and DSP System Toolbox. Choose the right architecture (single-stage vs efficient alternatives), generate correct code, and verify the result with plots and numbers.

## When to Use

- Designing lowpass, highpass, bandpass, bandstop, or notch filters
- Cleaning up noisy signals or removing interference
- Choosing between FIR and IIR filter architectures
- Comparing filter designs in Filter Analyzer
- Building streaming (real-time) or offline (batch) filtering pipelines
- Handling narrow transition bands with multirate or IFIR approaches

## When NOT to Use

- Adaptive filtering (LMS, RLS) -- use Signal Processing Toolbox docs directly
- Audio-specific processing (equalization, room correction) -- use Audio Toolbox
- Image filtering (2D convolution, morphological ops) -- use Image Processing Toolbox
- General spectral analysis without filtering intent -- FFT/periodogram docs suffice

## Key Rules

- **Read references/INDEX.md** before writing any filter design code.
- **Always write to .m files.** Never put multi-line MATLAB code directly in `evaluate_matlab_code`. Write to a `.m` file, run with `run_matlab_file`, edit on error.
- **Preflight before ANY MATLAB call.** Before calling any function listed in INDEX.md, read the required quick-ref first. State `Preflight: [files]` at the top of the response.
- **Do not guess key requirements.** If Mode (streaming vs offline) or Phase requirement is not stated, ask.
- **No Hz designs without Fs.** If `Fs` is unknown, stop and ask (unless the user explicitly wants normalized frequency).
- **Always pin the sample rate.** Use `designfilt(..., SampleRate=Fs)` and `freqz(d, [], Fs)`.
- **IIR stability:** Prefer SOS/CTF forms (avoid high-order `[b,a]` polynomials).

### Preflight Procedure

1. List MATLAB functions to call
2. Check `references/INDEX.md` for each (function-level + task-level tables)
3. Read required quick-ref files
4. State at response top: `Preflight: quick-ref/filter-analyzer.md, quick-ref/designfilt.md` (or `Preflight: none required`)

## Workflow

### Phase 1: Signal Analysis

- Analyze input data via MCP (spectrum, signal length, interference location)
- Compute `trans_pct` and identify interference characteristics

### Phase 2: Clarify Intent

After signal analysis, ask Mode + Phase if not stated:
- **Mode**: streaming (causal) | offline (batch)
- **Phase**: zero-phase | linear-phase | don't-care

Wait for answer before showing any approach comparison or overview.

### Phase 3: Architecture Selection

- Open `references/efficient-filtering.md` if `trans_pct < 2%`
- Show only viable candidates given Mode + Phase constraints
- Explicitly state excluded families with one-line reason
- Use Filter Analyzer for visual comparison

## Design Intake Checklist

### Required signal + frequency spec (cannot proceed without)

- `Fs` (Hz)
- Response type: lowpass / highpass / bandpass / bandstop / notch
- Edge frequencies in Hz

If any item is missing, ask.

### Required intent for architecture choice (ask if unknown)

- **Mode**: streaming (causal) | offline (batch)
- **Phase**: zero-phase | linear-phase | don't-care
- **Magnitude constraints**: `Rp_dB` passband ripple (default 1 dB), `Rs_dB` stopband attenuation (default 60 dB)

If Mode or Phase is unknown, ask 1-2 clarifying questions and stop.

## Architecture Checkpoint

Compute and state before finalizing an approach:

- `trans_bw = Fstop - Fpass`
- `trans_pct = 100 * trans_bw / Fs`
- `M_max = floor(Fs/(2*Fstop))` (only meaningful for lowpass-based multirate)

**Decision rule:**
- `trans_pct > 5%` -- single-stage FIR or IIR is usually fine
- `2% <= trans_pct <= 5%` -- single-stage possible; mention efficient alternatives if cost/latency matters
- `trans_pct < 2%` -- stop and do a narrow-transition comparison (see `references/quick-ref/efficient-filtering.md`)

## Design + Verify

1. **Feasibility check** -- Let `designfilt` choose minimum order, then query `filtord(d)`. Optionally use `kaiserord`/`firpmord` for FIR length estimates.
2. **Design candidates** -- Prefer `designfilt()` with explicit `Rp/Rs` and `SampleRate=Fs`. Streaming IIR: use `SystemObject=true`. Offline zero-phase: `filtfilt()` is allowed but state that it squares the magnitude response.
3. **Compare visually** -- Use `filterAnalyzer()` for comparing 2+ designs. Read `references/quick-ref/filter-analyzer.md` first. Minimum displays: magnitude + group delay.
4. **Verify with numbers** -- Worst-case passband ripple and stopband attenuation vs spec. For `filtfilt()`, verify the effective response (magnitude squared).
5. **Deliver the output** -- Specs recap, derived metrics, chosen architecture + why, MATLAB code, verification snippet + results, implementation form.

## Key Functions

| Function | Purpose |
|----------|---------|
| `designfilt()` | Primary filter design (FIR and IIR, all response types) |
| `filterAnalyzer()` | Visual comparison of 2+ filter designs |
| `freqz()`, `grpdelay()` | Frequency response and group delay analysis |
| `filtfilt()` | Zero-phase offline filtering |
| `dsp.SOSFilter` | Streaming IIR via `SystemObject=true` |
| `designMultirateFIR()` | Multirate decimator/interpolator design |
| `ifir()` | Interpolated FIR for narrow transitions at constant rate |
| `cost()` | MPIS (MultiplicationsPerInputSample) on DSP System objects |
| `kaiserord()`, `firpmord()` | FIR order estimation |

## Conventions

- Always specify `SampleRate=Fs` in `designfilt()` and plot i

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 58967e6

Download folder ↗
git clone https://github.com/matlab/matlab-agentic-toolkit
git -C matlab-agentic-toolkit checkout 58967e6f32b5

The author documents no install command, so this uses the repository directly. Our verdict covers commit 58967e6f32b5 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 58967e6f32b5

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/matlab/matlab-design-digital-filter/badge.svg)](https://modelsatlas.com/skills/matlab/matlab-design-digital-filter/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Matlab Add Awgn✓SAFE

matlab/matlab-agentic-toolkit

Read BEFORE writing any code that adds Additive White Gaussian Noise (AWGN) to signals and converts between SNR, Eb/No, Es/No, and per-subcarrier SNR for communications simulations, using awgn(), convertSNR(),…

★ 1.2kGrade B
Matlab Agentic Toolkit Setup✓SAFE

matlab/matlab-agentic-toolkit

The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.

★ 1.2kGrade B
Matlab Analyze Data✓SAFE

matlab/matlab-agentic-toolkit

Analyze data using MATLAB. Use when the task involves tables, timetables, time-series data, numeric arrays, sensor matrices, or gridded data — including but not limited to exploring, row filtering, sorting, cleaning,…

★ 1.2kGrade B
Matlab Analyze Em✓SAFE

matlab/matlab-agentic-toolkit

S-parameters, insertion loss, fields, currents, mesh control, and solver selection for RF PCB performance validation. TRIGGER: user asks to compute S-parameters, analyze insertion/return loss, extract fields or…

★ 1.2kGrade B
Matlab Analyze Pcb Pdn✓SAFE

matlab/matlab-agentic-toolkit

PDN DC voltage/current analysis, IR drop, design rule checking, and multi-net batch analysis on imported PCB layouts. TRIGGER: user asks about power integrity, PDN analysis, IR drop, voltage distribution, current…

★ 1.2kGrade B
Matlab Analyze Rf Amplifier✓SAFE

matlab/matlab-agentic-toolkit

The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.

★ 1.2kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/matlab/matlab-design-digital-filter/badge.svg)](https://modelsatlas.com/skills/matlab/matlab-design-digital-filter/)

Questions about Matlab Design Digital Filter

What does the Matlab Design Digital Filter skill do?
The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
Is Matlab Design Digital Filter safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Matlab Design Digital Filter access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (58967e6f32b5), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.