Install any skill in seconds. Free to start, no credit card required.
Get Started Free →leonchaox/matlab
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
Passed 16 of 23 test cases with the skill, and 15 of 23 without it.
2 fixed14 passed either way6 still failing1 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 two matrices `A` and `B` of dimensions 3x3. I want to perform point-by-point element-wise multiplication rather than matrix inner product / row-column multiplication. What operator should be used?
| Checked | Without skill | With skill |
|---|---|---|
| The code uses the element-wise operator `.*`. | 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 15 / 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.