Free, open-source scientific computing — in your browser.
MatFree is a free, open-source computing environment for numerical analysis, matrix operations, and scientific computing. It runs entirely in the browser with no installation, no license fees, and no restrictions.
- Matrix Engine — Dense matrices, linear algebra (det, inv, eigenvalues), broadcasting
- Rich Language — Functions, anonymous functions, closures, structs, cell arrays, control flow
- Interactive REPL — Command window with history, instant feedback
- 200+ Built-in Functions — Math, statistics, signal processing, symbolic math, ODEs, and more
- Script Editor — Write and run multi-line scripts in the browser
- Notebook — Code and markdown cells with save/load to IndexedDB
- Data I/O —
readcsv,writematrix,writecsv,jsondecode,jsonencode; Load URL for CSV - Open Source — MIT licensed, community-driven
Visit matfree.app and start computing. No sign-up required.
% Matrix operations
A = [1 2; 3 4];
B = inv(A);
disp(A * B)
% Functions
function y = fib(n)
if n <= 1
y = n;
else
y = fib(n-1) + fib(n-2);
end
end
fib(20)
% Statistics
data = [4 8 15 16 23 42];
fprintf('Mean: %f\n', mean(data))
fprintf('Std: %f\n', std(data))
% Data I/O: parse CSV, export, JSON
data = readcsv('1,2,3\n4,5,6');
writematrix(data, 'output.csv')
s = jsondecode('{"x":1,"y":2}');
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run buildThe engine/ directory contains a C++ implementation of the MatFree engine for native performance. See engine/CMakeLists.txt for build instructions.
src/engine/— TypeScript engine (lexer, parser, interpreter) that runs in the browsersrc/app/— Next.js web application (landing page, playground, notebook)engine/— C++ native engine (for CLI and native bindings)
MIT License. See LICENSE for details.