LQF_Machine_Learning_E…
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine…
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
Claude Code
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill matlab --agent claude-code
Codex
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a codex -y
Cursor
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a cursor -y
Gemini CLI
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a gemini-cli -y
GitHub Copilot
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a github-copilot -y
OpenCode
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a opencode -y
Windsurf
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill matlab -a windsurf -y
name: matlab
description: 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.
license: For MATLAB (https://www.mathworks.com/pricing-licensing.html) and for Octave (GNU General Public License version 3)
compatibility: Requires either MATLAB or Octave to be installed for testing, but not required for just generating scripts.
metadata:
skill-author: K-Dense Inc.Use this skill only when the user explicitly asks for MATLAB, Octave, Simulink, `.m` scripts, M-files, or MATLAB-specific tooling. Do not use it for generic NumPy, Python matrix work, Jupyter notebooks, scientific visualization, data analysis, or numerical computing unless MATLAB or Octave is explicit.
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 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 operations, see [references/matrices-arrays.md](references/matrices-arrays.md).
% Eigenvalues and eigenvectors [V, D] = eig(A); % V: eigenvectors, D: diagonal eigenvalues % Singular value decomposition [U, S, V] = svd(A); % Matrix decompositions [L, U] = lu(A); % LU decomposition [Q, R] = qr(A); % QR decomposition R = chol(A); % Cholesky (symmetric positive definite) % Solve linear systems x = A \ b; % Preferred method x = linsolve(A, b); % With options x = inv(A) * b; % Less efficient
For comprehensive linear algebra, see [references/mathematics.md](references/mathematics.md).
% 2D Plots
x = 0:0.1:2*pi;
y = sin(x);
plot(x, y, 'b-', 'LineWidth', 2);
xlabel('x'); ylabel('sin(x)');
title('Sine Wave');
grid on;
% Multiple plots
hold on;
plot(x, cos(x), 'r--');
legend('sin', 'cos');
hold off;
% 3D Surface
[X, Y] = meshgrid(-2:0.1:2, -2:0.1:2);
Z = X.^2 + Y.^2;
surf(X, Y, Z);
colorbar;
% Save figures
saveas(gcf, 'plot.png');
print('-dpdf', 'plot.pdf');For complete visualization guide, see [references/graphics-visualization.md](references/graphics-visualization.md).
% Read tabular data
T = readtable('data.csv');
M = readmatrix('data.csv');
% Write data
writetable(T, 'output.csv');
writematrix(M, 'output.csv');
% MAT files (MATLAB native)
save('data.mat', 'A', 'B', 'C'); % Save variables
load('data.mat'); % Load all
S = load('data.mat', 'A'); % Load specific
% Images
img = imread('image.png');
imwrite(img, 'output.jpg');For complete I/O guide, see [references/data-import-export.md](references/data-import-export.md).
% Conditionals
if x > 0
disp('positive');
elseif x < 0
disp('negative');
else
disp('zero');
end
% Loops
for i = 1:10
disp(i);
end
while x > 0
x = x - 1;
end
% Functions (in separate .m file or same file)
function y = myfunction(x, n)
y = x.^n;
end
% Anonymous functions
f = @(x) x.^2 + 2*x + 1;
result = f(5); % 36For complete programming guide, see [references/programming.md](references/programming.md).
% Descriptive statistics m = mean(data); s = std(data); v = var(data); med = median(data); [minVal, minIdx] = min(data); [maxVal, maxIdx] = max(data); % Correlation R = corrcoef(X, Y); C = cov(X, Y); % Linear regression p = polyfit(x, y, 1); % Linear fit y_fit = polyval(p, x); % Moving statistics y_smooth = movmean(y, 5); % 5-point moving average
For statistics reference, see [references/mathematics.md](references/mathematics.md).
% ODE solving % dy/dt = -2y, y(0) = 1 f = @(t, y) -2*y; [t, y] = ode45(f, [0 5], 1); plot(t, y); % Higher-order: y'' + 2y' + y = 0 % Convert to system: y1' = y2, y2' = -2*y2 - y1 f = @(t, y) [y(2); -2*y(2) - y(1)]; [t, y] = ode45(f, [0 10], [1; 0]);
For ODE solvers guide, see [references/mathematics.md](references/mathematics.md).
% FFT Y = fft(signal); f = (0:length(Y)-1) * fs / length(Y); plot(f, abs(Y)); % Filtering b = fir1(50, 0.3); % FIR filter design y_filtered = filter(b, 1, signal); % Convolution y = conv(x, h, 'same');
For signal processing, see [references/mathematics.md](references/mathematics.md).
% Load data data
Intelligent Skill routing and workflow orchestration for AI agents — +21.12 pp reward, −29.6% tokens on SkillsBench with DeepSeekV4Flash-VE.
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine…
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental…
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting,…
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+…
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…