AI Agent Hub
Back to skills
💻

MATLAB and Octave Scientific Computing Assistant

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @org-02qudk26/matlab-zh into your AI assistant according to https://skillhub.cn/install/skillhub.md.

About this skill

What It Solves

MATLAB and Octave scripts can fail over matrix semantics, indexing, toolbox dependencies, and numerical solver details. This skill is for engineers who need to write, review, or refactor scientific computing code, and it keeps common capabilities in a compact reference index: matrices and arrays, linear algebra, plotting, data import/export, functions and control flow, statistics, ODEs, and signal processing.

How It Works

It classifies the task and routes to the relevant reference files: matrices-arrays.md for creation, indexing, and operations; mathematics.md for linear algebra, optimization, statistics, and ODEs; graphics-visualization.md for 2D/3D plotting and export; data-import-export.md for file I/O and tables; programming.md for scripts, functions, control flow, and OOP; and python-integration.md for cross-language calls. For GNU Octave, it checks compatibility differences: comments may use # or %, operators such as +=, ++, and -- are available, some toolbox functions are missing, and packages may require pkg load. Recommended practices include vectorization, preallocating arrays, storing numeric data in matrices, using tables for mixed fields, and preserving function help comments.

Scope and Notes

The skill is a MATLAB/Octave usage and code-reference aid, not a substitute for full toolbox documentation or hosted compute resources. For commercial toolboxes, GUIs, parallel clusters, or hardware acceleration, consult the official documentation. For complex multi-step research workflows, use it as a local basis for code generation and review.

Use Cases

  • A research engineer imports sensor CSV files into tables, cleans them, computes means with matrix operations, and plots time-series curves.
  • A controls engineer defines state matrices in MATLAB, runs a solver to inspect closed-loop response, and exports the resulting curves.
  • A teaching assistant groups student records by class, computes grade statistics, stores results in tables, and generates bar charts.
  • An open-source maintainer checks Octave differences in comments, operators, and package loading to keep scripts runnable.

Best For

  • Numerical algorithm engineers: write scripts for matrix operations, linear algebra, and ODE simulation
  • Data engineers: import/export CSV or TXT files, clean experimental data in tables, and plot results
  • Research and teaching staff: demonstrate MATLAB plotting and statistics while checking Octave compatibility
  • Embedded controls engineers: implement control-flow functions, batch-process sensor data, and generate response curves