Logo: Matlab Signal Vision Ai

Matlab Signal Vision Ai

Communautéit
wzyn20051216
matlab-signal-vision-ai

MATLAB workflow for signal processing, DSP, image processing, computer vision, lidar, medical imaging, deep learning, and AI-assisted reproducible experiments. Use for filters, spectrograms, wavelets, object detection, segmentation, classification, training, inference, generated figures, and for verifying signal or vision results — units, windows, Nyquist, filter response, BER/SNR, masks and boxes, IoU/precision/recall/F1, label alignment, transform invertibility, and split leakage.

Iwwersiicht

Editeurwzyn20051216
Repositorymatlab-agent-skills
Skill-Nummmatlab-signal-vision-ai
Stären
32
Forks
1
Matgeliwwert Dateien
18
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 18 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    wzyn20051216 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Matlab Signal Vision Ai an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/wzyn20051216/matlab-agent-skills/tree/main/skills/matlab-signal-vision-ai
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wzyn20051216/matlab-agent-skills.git /tmp/matlab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/matlab-agent-skills/skills/matlab-signal-vision-ai .claude/skills/matlab-signal-vision-ai
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Matlab Signal Vision Ai an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Matlab Signal Vision Ai automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Matlab Signal Vision Ai net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

MATLAB Signal Vision AI

Use this skill when the core artifact is a processed signal, image, video, point cloud, neural network, or AI experiment.

Skill Root

The installed directory containing this SKILL.md is the resource root. Add its helper folder for the current MATLAB session only — never through savepath, startup.m, or a global path edit:

matlab
skillRoot = '<absolute path to the installed matlab-signal-vision-ai Skill directory>';
addpath(fullfile(skillRoot, 'scripts'));

Resolve references/, tests/, and helper calls from that root, not from the caller's working directory. If a shipped helper or reference is missing, report the exact path and reinstall the Skill; do not scan the disk for a substitute.

Workflow

  1. 任务识别 — Identify data modality, sampling rate, image size, color space, labels, expected outputs. State the units (Hz vs rad/s), the analysis window, and whether the claim is steady-state or transient.
  2. 能力选择 — r = mas_route(prompt); confirm this skill is primary and read the routed tool contract, not the whole toolbox.
  3. 环境检查 — confirm toolbox availability (mas_precheck) before specialized APIs; a missing toolbox degrades the capability, it does not silently change the method.
  4. MATLAB 执行 — build a tiny reproducible subset first; save intermediate outputs so failures are inspectable.
  5. 独立验收 — grade with the measurement tools below, never by the figure. Reference values must come from outside the code under test (closed form, hand algebra, a second route).
  6. 错误恢复 — a fail or UNDETERMINED is re-run with the specific fix (longer record, stated window, independent truth) and the attempt is recorded; it is not skipped.
  7. 结果交付 — report numbers with units, window, regime and interval. SKIP/BLOCKED is never rewritten to PASS.

Preferred APIs

  • Signal: designfilt, kaiserord, butter/buttord, fir1, filter, freqz (always pass fs when you mean Hz), spectrogram, pwelch, findpeaks, wavelet functions.
  • Vision: imread, im2gray, imresize, imbinarize, regionprops, detectSURFFeatures, bboxOverlapRatio.
  • Deep learning: dlnetwork, trainnet, datastores, minibatchqueue, pretrained models when licensed.
  • Lidar/medical imaging: use domain importers and viewers when available; keep metadata.

Measurement tools

matlab
c = mas_measure_contract(x, fs, struct('freq',struct('value',50,'unit','Hz'), ...
        'rms', 0.707, 'expected', struct('value', 0.5, 'tolRel', 1e-2)));
c.verdict  c.checks  c.ci  c.freqHz  c.freqRadPerSec  c.powerLinear  c.powerDb
f = mas_filter_check(b, a, struct('fs',1000,'type','lowpass','fpass',100,'fstop',250,'astopDb',40));
f.verdict  f.achieved.stopbandDb  f.achieved.groupDelaySamples  f.achieved.maxPoleMag
s = mas_sample_check(x, fs, struct('fMax',200,'truth',struct('f',@(t) sin(2*pi*150*t))));
s.verdict  s.measured.fPeak  s.measured.aliasFoldHz  s.measured.reconRelErr
g = mas_ber_check(588, 262144, struct('scheme','QPSK','ebn0dB',6));
g.verdict  g.z  g.berMeasured  g.berTheory  g.ci  g.state

Insufficient evidence is not a refutation

Any counted claim (BER, failure rate, error fraction) goes through mas_stat_verdict(nErr, n, spec), which names one of five states and lets the state decide the verdict -- never the reverse:

stateverdictwhen
sufficient-supportPASSthe interval excludes worse-than-claimed
sufficient-refutationFAILthe interval excludes the claim
insufficient-sampleUNDETERMINEDtoo few expected events to see the rate under test
interval-straddles-targetUNDETERMINEDpowered, and the threshold sits inside the interval
criterion-missingUNDETERMINEDnothing was claimed

0 errors in 128 bits against a theoretical 2.4e-3 is the case that gets judged wrong most often: the expected count is 0.31, so the run neither certifies nor refutes anything, and it must not be reported as a refutation. The same zero count against a target of 3e-2 does certify it (exact bound 1-(1-L)^(1/n) = 2.31e-2), so downgrading that to inconclusive throws away the only evidence a rare-event test produces. State the claim as struct('target', 3e-2) or struct('theory', 2.4e-3) and let the tool decide.

Every tool returns verdict (PASS | FAIL | UNDETERMINED) and per-check status (pass | fail | na | undetermined). na = the contract does not apply; it does not drag the verdict. undetermined = missing evidence or missing criterion and forces UNDETERMINED: no acceptance criterion, no PASS.

Boundary rules these tools encode (each one a paid-for defect):

  • rms <= peak for ANY signal; ratio ~sqrt(2) means sinusoid, ratio ~1 does not.
  • dB power is 10*log10; an applied 20*log10 is a factor-2-in-dB error, and -3.01 dB IS 0.5.
  • The windowed periodogram power identity sum(x.^2.*w.^2)/sum(w.^2) is not mean(x.^2); the gap is taper bias, not a scaling bug.
  • Stopband = WORST over the whole band, not the value at fstop: a comb null reads 61.8 dB at its token point and 11.3 dB where it actually matters.
  • Linear phase is graded only for symmetric/antisymmetric FIR; an IIR is na, not fail, when the spec never asked.
  • Nyquist: the fold location is printed; a spectrum can confirm content below the claim but can never rule out content above fs/2.
  • BER is graded by z-score against counting noise; zero errors certify an upper bound only; tolerances follow the error count, not taste.
  • A frequency confidence interval is quoted only when blocks hold >= 10 cycles of the tone; below that the tool refuses a tight-and-wrong interval.

Full contract, worked examples, negative controls: references/signal-measurement-contract.md.

Vision verification tools

matlab
s = mas_seg_check(predMask, trueMask, struct('iouThreshold',0.5, ...
        'thresholdSource','validation', ...
        'metrics', struct('name','f1','value',0.82,'tolRel',1e-3)));
s.verdict  s.metrics.f1  s.perClass  s.objects  s.objectMetrics  s.thresholdSweep

d = mas_detect_check(gtBox, gtLab, predBox, predLab, scores, struct( ...
        'iouThreshold',0.5,'imageSize',[480 640], ...
        'scoreThreshold',0.3,'scoreThresholdSource','validation', ...
        'metrics', struct('name','f1','value',0.75,'tolRel',1e-3)));
d.verdict  d.metrics  d.perClass  d.matches  d.scoreSweep

v = mas_image_contract(I, struct('expectedSize',[256 256 3], ...
        'expectedClass','uint8','expectedRange',[0 255],'labels',L, ...
        'normalization', struct('original',I0,'inverse',@inv), ...
        'transform',T,'points',P,'pointsTransformed',Q, ...
        'edgeMap',E,'edgeTruth',E0,'edgeF1Min',0.9, ...
        'split', struct('trainIdx',tr,'valIdx',va,'sampleHash',h)));
v.verdict  v.image  v.labels  v.normalization  v.transform  v.edge  v.split
  • Pixel accuracy is not segmentation quality: 95 % background scores 95 % accuracy while finding nothing. Per-class values are always reported, and an accuracy-only claim on imbalanced data is UNDETERMINED.
  • Pixel IoU is not object IoU. Objects are matched one-to-one at an EXPLICIT IoU threshold; a second prediction on one object is a false positive, and an object-metric claim without a stated threshold is UNDETERMINED.
  • Empty conventions are stated, never 0/0-as-good: empty prediction vs empty truth is a perfect match by convention; empty truth with predictions is IoU 0.
  • A score/binarization threshold tuned on the set being reported is a leak (test fails, no stated source is UNDETERMINED). A metric without a tolerance is not a criterion.
  • Detection AP is all-point interpolated per class; mAP averages only classes with GT. A predicted label missing from the GT set raises a label-alignment warning, because a name-mapping bug looks exactly like an invented class.
  • Image checks are numeric: size/dtype/range, label alignment, normalization round-trip, invertible affine geometry, edge/feature agreement with an independent truth within a pixel tolerance, and split leakage by index AND content hash AND group.
  • "The picture looks right" is never a criterion; a missing truth or criterion is UNDETERMINED.

Full contract: references/vision-verification-contract.md.

Legacy metrics tools

matlab
r = mas_spectrum_check(x, fs, struct('window','hann','nfft',[]));
r.leakage  r.cycles  r.concentration  r.parsevalErr  r.taperBias  r.warnings
o = mas_ofdm_ber([0 2 4 6]);   o.berSim  o.berTheory  o.relErr  o.verdict
m = mas_image_metrics(predMask, trueMask);
m.iou  m.dice  m.precision  m.recall  m.perObject  m.objectIouWorst
s = mas_split_seed(labels, struct('trainFrac',0.7,'seed',0,'stratify',true));
s.trainIdx  s.valIdx  s.noOverlap  s.noGap  s.reproducible  s.classBalance

What they pin:

  • mas_spectrum_check: a half-bin offset drops concentration 1.000 -> 0.408 (measured); Parseval is tested against the window-weighted identity, taper bias reported separately.
  • mas_ofdm_ber: two-sided against 0.5*erfc(sqrt(Eb/N0)) — a BER below theory is a failure (noise too small), and the CP penalty belongs at the transmitter (receiver-side application shifts 0 dB BER 0.0786 -> 0.102).
  • mas_image_metrics: per-object matching by argmax over truth labels, not by index; a mask with the right area in the wrong place must score IoU 0.
  • mas_split_seed: noOverlap/noGap/reproducible asserted; classBalance is a number to read, not a boolean to trust.

Validation

Choose relevant checks beyond the tools:

  • Image dimensions, pixel range, mask area, IoU, accuracy, F1.
  • Training loss decreases on a smoke subset.
  • Inference output has expected class names, boxes, or mask shape.
  • Exported figure or video is nonempty — necessary, never sufficient.

Reproducibility

Record random seed, split policy, pretrained model version, GPU availability, and dataset hash or URL.

Tests: tests/test_signal_vision.m, tests/test_signal_contract.m (42/42) and tests/test_vision_contract.m (103/103) — every metric carries a negative control, and expected values come from hand algebra, closed forms or MATLAB design generators, never from the code under test.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Matlab Signal Vision Ai?

MATLAB workflow for signal processing, DSP, image processing, computer vision, lidar, medical imaging, deep learning, and AI-assisted reproducible experiments. Use for filters, spectrograms, wavelets, object detection, segmentation, classification, training, inference, generated figures, and for verifying signal or vision results — units, windows, Nyquist, filter response, BER/SNR, masks and boxes, IoU/precision/recall/F1, label alignment, transform invertibility, and split leakage.

Firwat Matlab Signal Vision Ai op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Matlab Signal Vision Ai besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Matlab Signal Vision Ai an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/wzyn20051216/matlab-agent-skills/tree/main/skills/matlab-signal-vision-ai an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Matlab Signal Vision Ai benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Matlab Signal Vision Ai benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Matlab Signal Vision Ai domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Matlab Signal Vision Ai gratis?

Jo. wzyn20051216 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇