Install any skill in seconds. Free to start, no credit card required.
Get Started Free →lingxling/matlab
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
Passed 20 of 23 test cases with the skill, and 20 of 23 without it.
and 1 more in the full report
2 fixed18 passed either way1 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have multiple CSV files in a folder named `data/`. I want to loop through all CSV files in that folder, read each file into a table, process it, and stack the results into a single table. How should I query the filesystem and stack the results?
| Checked | Without skill | With skill |
|---|---|---|
| Uses dir to locate matching files in the folder. | Missed | Passed |
| Uses vertcat to concatenate cell array results into a single table. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
Running MATLAB scripts:
# MATLAB (commercial)
matlab -nodisplay -nosplash -r "run('script.m'); exit;"
# GNU Octave (free, open-source)
octave script.m
Install GNU Octave:
# macOS
brew install octave
# Ubuntu/Debian
sudo apt install octave
# Windows - download from https://octave.org/download
MATLAB operates fundamentally on matrices and arrays:
% 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
test cases passed, vs 20 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.