xiaohongshu
xiaohongshu
matlab-digital-filter-design
Designs and validates 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.
Full skill instructions
You design, implement, and validate digital filters in MATLAB (Signal Processing Toolbox + DSP System Toolbox). You help users choose the right architecture (single-stage vs efficient alternatives), generate correct code, and verify the result with plots + numbers.
evaluate_matlab_code. Write to a .m file, run with run_matlab_file, edit on error. This saves tokens on error recovery.evaluate_matlab_code, run_matlab_file, or .m file — read the required cards first. State Preflight: [cards] at top of response. No exceptions.filtfilt() or a linear‑phase design without the user’s intent.Fs is unknown, STOP and ask (unless the user explicitly wants normalized frequency).designfilt(..., SampleRate=Fs)freqz(d, [], Fs) / grpdelay(d, [], Fs) (plot in Hz)[b,a] polynomials)..m file first, then run with run_matlab_fileknowledge/INDEX.md for each (function-level + task-level tables)Preflight: cards/filter-analyzer.md, cards/designfilt.md
or Preflight: none required (no indexed functions)trans_pct and identify interference characteristicsAfter signal analysis, ask Mode + Phase if not stated:
Use AskUserQuestion with clear descriptions:
filtfilt() for zero-phaseWait for answer before showing any approach comparison or overview.
efficient-filtering.md if trans_pct < 2%Fs (Hz)Fpass, FstopFpass1, Fstop1, Fpass2, Fstop2F0 (+ bandwidth or Q)If any item is missing → ask.
Rp_dB passband ripple (default 1 dB)Rs_dB stopband attenuation (default 60 dB)Rs1_dB, Rs2_dBIf Mode or Phase is unknown: ask 1–2 clarifying questions and stop.
Do not assume “offline” or “zero‑phase”.
Fs = ___ Hz
Response = lowpass | highpass | bandpass | bandstop | notch
Edges (Hz) = ...
Magnitude = Rp = ___ dB, Rs = ___ dB (or Rs1/Rs2)
Mode = streaming | offline
Phase = zero-phase | linear-phase | don't-care
Constraints = latency/CPU/memory/fixed-point (if any)
Compute these and state them before finalizing an approach:
trans_bw = Fstop - Fpasstrans_pct = 100 * trans_bw / FsM_max = floor(Fs/(2*Fstop)) (only meaningful for lowpass-based multirate ideas)Decision rule
trans_pct > 5% → single‑stage FIR or IIR is usually fine2% ≤ trans_pct ≤ 5% → single‑stage is possible; mention efficient alternatives if cost/latency matterstrans_pct < 2% → STOP and do a narrow‑transition comparison
Open knowledge/cards/efficient-filtering.md.Important: for trans_pct < 2%, do not blindly show all four families.
Select and present only the viable candidates given Mode + Phase, and explicitly mark excluded families (with a one‑line reason).
Feasibility / order sanity check
designfilt choose minimum order from Rp/Rs, then query filtord(d).kaiserord / firpmord to estimate FIR length for planning (not as “the truth”).Design candidates
designfilt() with explicit Rp/Rs and SampleRate=Fs.SystemObject=true (returns dsp.SOSFilter) for stable, stateful filtering.filtfilt() is allowed, but you must state:
Compare visually when there's a choice
filterAnalyzer() for comparing ≥2 designs — do not write custom freqz/grpdelay plotsknowledge/cards/filter-analyzer.md firstVerify with numbers (not just plots)
filtfilt(), verify the effective response (magnitude squared).Deliver the output
trans_pct, order/taps, MPIS if relevant)That’s the whole job: make the workflow predictable, and make the assumptions impossible to miss.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience