Matlab Signal Vision Aiのロゴ

Matlab Signal Vision Ai

コミュニティ
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.

Add to TypingMind

概要

公開者wzyn20051216
リポジトリmatlab-agent-skills
スキル名matlab-signal-vision-ai
スター
32
フォーク
1
同梱ファイル
18
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 18個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    wzyn20051216がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Matlab Signal Vision Ai」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/wzyn20051216/matlab-agent-skills/tree/main/skills/matlab-signal-vision-ai
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMatlab Signal Vision Aiを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMatlab Signal Vision Aiを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Matlab Signal Vision Aiは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでMatlab Signal Vision Aiを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Matlab Signal Vision Aiはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMatlab Signal Vision Aiをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/wzyn20051216/matlab-agent-skills/tree/main/skills/matlab-signal-vision-aiを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Matlab Signal Vision Aiを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Matlab Signal Vision Aiで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMatlab Signal Vision Aiを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Matlab Signal Vision Ai」は無料ですか?

はい。wzyn20051216がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇