Agent skill · Data & Analytics

matlab

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.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill matlab --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 10 KB
Bundled scripts: none
Requires: Requires either MATLAB or Octave to be installed for testing, but not required for just generating scripts.
Path: skills/10-材料科学与物理计算/matlab/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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:** ```bash # MATLAB (commercial) matlab -nodisplay -nosplash -r "run('script.m'); exit;" # GNU Octave (free, open-source) octave script.m ``` **Install GNU Octave:** ```bash # macOS brew install octave # Ubuntu/Debian sudo apt install octave # Windows - download from https://octave.org/download ``` ## Core Capabilities ### 1. Matrix Operations MATLAB operates fundamentally on matrices and arrays: ```matlab % Create matrices A = [1 2 3; 4 5 6; 7 8 9]; % 3x3 matrix v = 1:10; % Row vector 1 to 10 v = linspace(0, 1, 100); % 100 points from 0 to 1 % Special matrices I = eye(3); % Identity matrix Z = zeros(3, 4); % 3x4 zero matrix O = ones(2, 3); % 2x3 ones matrix R = rand(3, 3); % Random uniform N = randn(3, 3); % Random normal % Matrix operations B = A'; % Transpose C = A * B; % Matrix multiplication D = A .* B; % Element-wise multiplication E = A \ b; % Solve linear system Ax = b F = inv(A); % Matrix inverse ``` For complete matrix

What's inside
Steps it walks through
  1. Quick Start
  2. Core Capabilities
  3. 1. Matrix Operations
  4. 2. Linear Algebra
  5. 3. Plotting and Visualization
  6. 4. Data Import/Export
  7. 5. Control Flow and Functions
  8. 6. Statistics and Data Analysis
  9. 7. Differential Equations
  10. 8. Signal Processing
  11. Common Patterns
  12. Pattern 1: Data Analysis Pipeline
  13. Pattern 2: Numerical Simulation
  14. Pattern 3: Batch Processing
Ships with 8 files
  • references/data-import-export.md
  • references/executing-scripts.md
  • references/graphics-visualization.md
  • references/mathematics.md
  • references/matrices-arrays.md
  • references/octave-compatibility.md
  • references/programming.md
  • references/python-integration.md
Commands it runs
MATLAB (commercial)
matlab -nodisplay -nosplash -r "run('script.m'); exit;"
GNU Octave (free, open-source)
octave script.m
macOS
brew install octave
Ubuntu/Debian
sudo apt install octave
Windows - download from https://octave.org/download
More from qinyan-academic-skills
All skills →
About this skill
What does the matlab skill do?

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.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill matlab --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going