# Matlab Data Analysis

> MATLAB R2026a data analysis workflow for tables, timetables, statistics, fitting, optimization-assisted analysis, visualization, report artifacts, and reproducible paper figures. Use whenever the user asks MATLAB to analyze data, plot results, fit models, process CSV/Excel/MAT files, or reproduce figures.

- **Type:** Skill
- **Install:** `agentstack add skill-wzyn20051216-matlab-agent-skills-matlab-data-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [wzyn20051216](https://agentstack.voostack.com/s/wzyn20051216)
- **Installs:** 0
- **Category:** [Data & Analytics](https://agentstack.voostack.com/c/data-and-analytics)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [wzyn20051216](https://github.com/wzyn20051216)
- **Source:** https://github.com/wzyn20051216/matlab-agent-skills/tree/main/skills/matlab-data-analysis
- **Website:** https://github.com/wzyn20051216/matlab-agent-skills

## Install

```sh
agentstack add skill-wzyn20051216-matlab-agent-skills-matlab-data-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MATLAB Data Analysis

Use this skill for MATLAB analysis pipelines that start with data and end with validated numbers, figures, or reports.

## Workflow

1. Inventory input files and schemas before coding.
2. Load data with typed APIs: `readtable`, `readtimetable`, `matfile`, `datastore`, or toolbox importers.
3. Normalize units, time zones, missing values, categorical fields, and outliers explicitly.
4. Build analysis as functions plus a thin runner script.
5. Save clean data, figures, and summary metrics under `artifacts/`.
6. Validate with shape checks, range checks, and at least one numerical assertion.

## API Preferences

- Tables and timetables for labeled data.
- `groupsummary`, `rowfun`, `varfun`, `synchronize`, and `retime` for structured transformations.
- `fitlm`, `fitnlm`, `fitrgp`, `fitcsvm`, or `fitcensemble` only after checking toolbox availability.
- `optimproblem` or solver APIs for constrained fitting when simple regression is not enough.
- Export figures with explicit size, resolution, and format.

## Reproducible Figures

Every reproduced paper figure should include:

- Source data provenance.
- Script name and command used.
- Random seed if applicable.
- Axis labels, units, legend, and saved image path.
- A simple metric comparing reproduced result with reference when possible.

## Validation

Use checks such as:

```matlab
assert(height(T) > 0)
assert(all(isfinite(metrics.rmse)))
assert(isfile(fullfile(outDir, "figure_1.png")))
```

Do not accept a plot as "done" unless the underlying numerical summary also looks sane.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [wzyn20051216](https://github.com/wzyn20051216)
- **Source:** [wzyn20051216/matlab-agent-skills](https://github.com/wzyn20051216/matlab-agent-skills)
- **License:** MIT
- **Homepage:** https://github.com/wzyn20051216/matlab-agent-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-wzyn20051216-matlab-agent-skills-matlab-data-analysis
- Seller: https://agentstack.voostack.com/s/wzyn20051216
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
