Agent skill · Audited from source
Matlab Fuse Inertial Sensors
skill · matlab/matlab-agentic-toolkitNOASSERTION licenceAudited 14 Oct 2026 · source 58967e6f32b5
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: Analyzes sensor configurations and creates inertial fusion filters in MATLAB Navigation Toolbox. Manages filter selection (imufilter, ahrsfilter, complementaryFilter, insfilterMARG, insfilterAsync,…
Cite
Cite this page
ModelsAtlas. “Matlab Fuse Inertial Sensors (matlab/matlab-agentic-toolkit)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/matlab/matlab-fuse-inertial-sensors
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
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
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
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/robotics-and-autonomous-systems/matlab-fuse-inertial-sensorsThe 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: Analyzes sensor configurations and creates inertial fusion filters in MATLAB Navigation Toolbox. Manages filter selection (imufilter, ahrsfilter, complementaryFilter, insfilterMARG, insfilterAsync,…
---
name: matlab-fuse-inertial-sensors
description: >
Analyzes sensor configurations and creates inertial fusion filters in MATLAB
Navigation Toolbox. Manages filter selection (imufilter, ahrsfilter,
complementaryFilter, insfilterMARG, insfilterAsync, insfilterNonholonomic,
insfilterErrorState, insEKF, insCF), construction, tuning, and fusion loops.
Use when fusing IMU/AHRS/INS/GPS+IMU data, estimating orientation or pose,
or choosing a filter. Do NOT use for vision-only SLAM, Simulink fusion, or
IMU simulation.
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
compatibility: R2022a+
metadata:
author: MathWorks
version: "1.1"
---
## When to Use
Select, implement, or tune an inertial sensor fusion filter in MATLAB Navigation Toolbox.
## When NOT to Use
- Vision-only or LiDAR-only SLAM (no inertial sensor): use nav SLAM functions instead
- Sensor simulation or data generation only: no filter needed
- Simulink model-based sensor fusion
---
## Choose Your Filter
### Step 1 — Configured or Flexible?
Configured filters cover these sensor combinations exactly:
- Accel + Mag only (no gyro)
- Accel + Gyro (no mag, no GPS)
- Accel + Gyro + Mag
- Accel + Gyro + Mag + Altimeter
- Accel + Gyro + GPS (ground vehicle, no mag)
- Accel + Gyro + GPS + monocular visual odometry (ground vehicle)
- Accel + Gyro + Mag + GPS (synchronous rates)
- Accel + Gyro + Mag + GPS (mixed rates or dropped samples)
```
Is your sensor set one of the above?
│ No ─────────────────────────────────────────────────────► Step 2B (Flexible)
│ Yes
▼
Need a custom motion model (constant-velocity, bicycle, etc.)?
│ Yes ────────────────────────────────────────────────────► Step 2B (Flexible)
│ No
▼
Need RTS smoothing, StateCovariance output, or optimizer-based tune()?
│ Yes ────────────────────────────────────────────────────► Step 2B (Flexible)
│ No
▼
Batch-only processing (no real-time predict/fuse loop needed)?
│ Yes ────────────────────────────────────────────────────► Step 2B (Flexible)
│ No
▼
Step 2A (Configured)
```
---
### Step 2A — Pick a configured filter
```
What output do you need?
│
├─ Orientation only (no position)
│ │
│ ├─ Accel + Mag only (no gyro)
│ │ └──► ecompass [function, not object; single-shot; useful for filter init]
│ │
│ ├─ Accel + Gyro (no mag)
│ │ └──► imufilter [heading drifts over time without mag]
│ │
│ ├─ Accel + Gyro + Mag
│ │ ├──► ahrsfilter [default; KF-based, statistically tunable]
│ │ └── lowest compute cost needed?
│ │ └──► complementaryFilter [gain-based only; no KF, no tune()]
│ │
│ └─ Accel + Gyro + Mag + Altimeter
│ └──► ahrs10filter [adds altitude + vertical velocity output]
│
└─ Full pose (orientation + position + velocity)
│
├─ No motion constraints (aerial, or ground vehicle without side-slip constraint)
│ ├─ Accel + Gyro + Mag + GPS, all sensors sync
│ │ └──► insfilterMARG
│ └─ Accel + Gyro + Mag + GPS, mixed rates or dropped samples
│ └──► insfilterAsync
│
└─ Ground vehicle with zero side-slip constraint
├─ Accel + Gyro + GPS
│ └──► insfilterNonholonomic
└─ Accel + Gyro + GPS + monocular visual odometry
└──► insfilterErrorState
```
---
### Step 2B — Pick a flexible filter
```
Need real-time fusion, StateCovariance output, or optimizer-based tune()?
│ Yes ──► insEKF [production use; full KF; real-time and batch APIs]
│ No
▼
Batch-only processing, no covariance needed, quick setup (R2026a+)?
└──► insCF [complementary filter; gain-based; not for production]
```
---
## Data Preparation
### Sample Rate
`SampleRate` (Group A filters) and `IMUSampleRate` (Group B filters) must match the actual data rate — a mismatch directly scales the noise model and corrupts all filter outputs. `insfilterAsync`, `insEKF`, and `insCF` are timestamp-driven and have no rate property.
**Convert timestamps to seconds first**, then infer the rate:
```matlab
tSec = rawTimestamp / 1e6; % μs → s; divide by 1e3 for ms, or skip if already seconds
fs = 1 / median(diff(tSec));
```
**If timestamps are unusable** (all identical, or non-finite result):
```matlab
if numel(unique(tSec)) < 2 || ~isfinite(fs)
fs = 100; % use the stated or datasheet rate
end
```
### Time Gaps
All stateful filters accumulate error across a recording gap (a large jump in timestamps). Split the data at each gap and reset the filter at the start of each segment.
```matlab
gapThreshold = 5 / fs; % 5× the expected sample interval
gapIdx = find(diff(tSec) > gapThreshold);
segments = [1; gapIdx+1]; % start index of each segment
```
**Group A System object filters** (`imufilter`, `ahrsfilter`, `complementaryFilter`): call `release(filt)` between segments — resets state while preserving all tuned noise properties.
**Group B and other filters**: re-construct the filter object at the start of each segment.
---
## Implementation
Consult the reference file for the filter you chose:
| Filter group | Reference |
| ------------------------- | --------------------------------------------------------------------- |
| Attitude filters | [references/attitude-filters.md](references/attitude-filters.md) |
| Navigation filters | [references/navigation-filters.md](references/navigation-filters.md) |
| `insEKF` | [references/insekf.md](references/insekf.md) |
| `insCF` | [references/inscf.md](references/inscf.md) |
---
## Tuning
Two `tune` signatures exist — mixing them up is a common error:
- **Signature A** (`imufilter`, `ahrsfilter`) — modifies filter in-place:
`tune(filt, sensorData, groundTExcerpt, 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
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
- ✓SAFE B 89 / 100
first audit · source
58967e6f32b5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/matlab/matlab-fuse-inertial-sensors/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
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(),…
matlab/matlab-agentic-toolkit
The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
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,…
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…
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…
matlab/matlab-agentic-toolkit
The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
Add this badge to your README
[](https://modelsatlas.com/skills/matlab/matlab-fuse-inertial-sensors/)
<a href="https://modelsatlas.com/skills/matlab/matlab-fuse-inertial-sensors/"><img src="https://modelsatlas.com/skills/matlab/matlab-fuse-inertial-sensors/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Matlab Fuse Inertial Sensors
What does the Matlab Fuse Inertial Sensors skill do?
Is Matlab Fuse Inertial Sensors safe to install?
What can Matlab Fuse Inertial Sensors access on my machine?
How current is this page?
Sources
- github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalo — the audited source at commit 58967e6f32b5 and every finding aboveObserved · 14 Oct 2026
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.
- What does the Matlab Fuse Inertial Sensors skill do?
- Is Matlab Fuse Inertial Sensors safe to install?
- What can Matlab Fuse Inertial Sensors access on my machine?