zlanqing/codex-claude-academic-skills/matlab
Claude Code and agent skill by zlanqing/codex-claude-academic-skills
- community
Checking that the SKILL.md file is still in the repository.
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.
Install
npx vskill@latest install zlanqing/codex-claude-academic-skills/matlabSKILL.md
The same SKILL.md was published earlier as zlanqing/codex-claude-academic-skills/matlab.
MATLAB/Octave Scientific Computing
MATLAB is a numerical computing environment optimized for matrix operations and scientific computing. GNU Octave is a free, open-source alternative with high MATLAB compatibility.
Quick Start
Running MATLAB scripts:
Install GNU Octave:
Core Capabilities
1. Matrix Operations
MATLAB operates fundamentally on matrices and arrays:
For complete matrix operations, see references/matrices-arrays.md.
2. Linear Algebra
For comprehensive linear algebra, see references/mathematics.md.
3. Plotting and Visualization
For complete visualization guide, see references/graphics-visualization.md.
4. Data Import/Export
For complete I/O guide, see references/data-import-export.md.
5. Control Flow and Functions
For complete programming guide, see references/programming.md.
6. Statistics and Data Analysis
For statistics reference, see references/mathematics.md.
7. Differential Equations
For ODE solvers guide, see references/mathematics.md.
8. Signal Processing
For signal processing, see references/mathematics.md.
Common Patterns
Pattern 1: Data Analysis Pipeline
Pattern 2: Numerical Simulation
Pattern 3: Batch Processing
Reference Files
- [matrices-arrays.md](references/matrices-arrays.md) - Matrix creation, indexing, manipulation, and operations
- [mathematics.md](references/mathematics.md) - Linear algebra, calculus, ODEs, optimization, statistics
- [graphics-visualization.md](references/graphics-visualization.md) - 2D/3D plotting, customization, export
- [data-import-export.md](references/data-import-export.md) - File I/O, tables, data formats
- [programming.md](references/programming.md) - Functions, scripts, control flow, OOP
- [python-integration.md](references/python-integration.md) - Calling Python from MATLAB and vice versa
- [octave-compatibility.md](references/octave-compatibility.md) - Differences between MATLAB and GNU Octave
- [executing-scripts.md](references/executing-scripts.md) - Executing generated scripts and for testing
GNU Octave Compatibility
GNU Octave is highly compatible with MATLAB. Most scripts work without modification. Key differences:
- Use
#or%for comments (MATLAB only%) - Octave allows
++,--,+=operators - Some toolbox functions unavailable in Octave
- Use
pkg loadfor Octave packages
For complete compatibility guide, see references/octave-compatibility.md.
Best Practices
- Vectorize operations - Avoid loops when possible:
```matlab % Slow for i = 1:1000 y(i) = sin(x(i)); end
% Fast y = sin(x); ```
- Preallocate arrays - Avoid growing arrays in loops:
```matlab % Slow for i = 1:1000 y(i) = i^2; end
% Fast y = zeros(1, 1000); for i = 1:1000 y(i) = i^2; end ```
- Use appropriate data types - Tables for mixed data, matrices for numeric:
```matlab % Numeric data M = readmatrix('numbers.csv');
% Mixed data with headers T = readtable('mixed.csv'); ```
- Comment and document - Use function help:
``matlab function y = myfunction(x) %MYFUNCTION Brief description % Y = MYFUNCTION(X) detailed description % % Example: % y = myfunction(5); y = x.^2; end ``
Additional Resources
- MATLAB Documentation: https://www.mathworks.com/help/matlab/
- GNU Octave Manual: https://docs.octave.org/latest/
- MATLAB Onramp (free course): https://www.mathworks.com/learn/tutorials/matlab-onramp.html
- File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscientific-toolkit-skill/references/scientific-skills/matlab/SKILL.md
Popularity
- Repository stars
- 1,221
- Repository forks
- 94
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zlanqing/codex-claude-academic-skills/matlab)