RunMat for defense engineering

Process radar, sonar and test data, design detection and tracking algorithms, and run simulations, in one MATLAB-language tool your team works in together.

Talk to us

Write radar and signal-processing code in MATLAB

Radar and sonar processing, tracking and test analysis are mostly written in MATLAB: matched filters, Doppler processing, detection thresholds, beamformers and Kalman filters. The engineers who build them know the language, and their scripts are where the work lives.

RunMat runs that code and opens the figures it makes, so a team can keep writing radar processing the way it already does.

Migration guideSignal processing

pulse-compression.m
% Pulse compression of a 10 us chirp with 5 MHz of bandwidth. Two targets
% 120 m apart near 12 km overlap in the raw return; the matched filter
% separates them and lifts them out of the noise.
c = 3e8; fs = 50e6; T = 10e-6; B = 5e6;
t = (0:round(T*fs)-1)' / fs;
pulse = exp(1i*pi*(B/T)*(t - T/2).^2);
n = 2^14;
R = [12000; 12120]; amp = [1; 0.7];
rx = zeros(n, 1);
for q = 1:2
idx = round(2*R(q)/c*fs) + (1:numel(pulse))';
rx(idx) = rx(idx) + amp(q) * pulse;
end
rng(1);
noise = (randn(n, 1) + 1i*randn(n, 1)) / sqrt(2);
rx = rx + noise;
y = ifft(fft(rx) .* conj(fft(pulse, n)));
yn = ifft(fft(noise) .* conj(fft(pulse, n))); % noise alone
r_km = (0:n-1)' * c / (2*fs) / 1000;
Terminal
$ runmat pulse-compression.m
peaks at 12.000 and 12.120 km, 120 m apart (resolution c/2B = 30 m)
compression gain 26.3 dB, against 27.0 dB expected for the 500 samples in the pulse

Simulate drone navigation and mapping, and watch each run

Write the vehicle models, the sensor model and the estimator as MATLAB-language functions and run the whole simulation in RunMat. The app plays its 3D figures back step by step, with the map beside each vehicle's position error.

You see the step where drift builds up and the step where a loop closure corrects it, before a flight test. Change a sensor's range or a route in the script and run it again.

Plotting

The RunMat app playing a multi-drone mapping simulation: four drones scan mountain terrain with LIDAR, the 3D map fills in as the title counts the share mapped, and each drone's position error climbs and then drops when the loop closures are solved.
0:00 / 0:00
Example: a simulation of four drones mapping mountain terrain with LIDAR, running in the RunMat app. The script is on the left; on the right, the 3D map fills in and each drone's position error drops when its loop closures are solved.

A deterministic engine designed for AI models to use in controlled loops

RunMat is a deterministic engine: the same script or study gives the same result every time. It is designed for AI models to use in a controlled loop, for work like the analyses on this page.

The model writes the script. RunMat checks its types, shapes and units and sends any error back for the model to fix, then runs it. The model reports the result and how it was computed, and every number in that answer came from RunMat, so it can go in a test report.

Point it at a model your program approves, running inside your network, or use the agent built into RunMat.

AI integrations

Works withClaude CodeCodexAny MCP client

AI modelSets up and interpretsRunMatChecks and runs the studystudyerrors and results
  1. ModelWrites cantilever.fea
  2. RunMatline 28: traction must be force per area, found N
  3. ModelFixes the load unit: N → Pa
  4. RunMatSolved · tip deflection 0.199 mm, beam theory 0.200 mm
  5. ModelReports the results and how they were computed

Review radar results together, live

Everyone on the project opens the same range-Doppler map from their own desk. When one person points at a return, the others see the pointer, and when someone changes the detection threshold in the script, everyone sees the new detections appear.

Questions about a target get settled on the result itself, without screenshots or a screen-share, and each run keeps the script and inputs that produced it.

Keep controlled work inside your network

The desktop app, server and workers can run fully offline on your own machines, which makes ITAR-aligned private deployment possible under enterprise contract. The source of the runtime and solver is public, so your security team can read what runs.

Air-gapped deploymentSecurity

What RunMat connects to, deployed offline

Runtime and CLINothing. Scripts run on the machine with no network
Desktop appYour RunMat server
RunMat serverYour database, object storage and identity provider
WorkersYour RunMat server
AI agentA model endpoint you operate, or switched off
PackagesVendored copies or your internal mirror
UpdatesYour internal update host, or pinned
Telemetry and analyticsOff
Anything outside your networkNothing

Examples

Raw radar return and the matched-filter output resolving two targets near 12 km, rendered by RunMat

Pulse compression

A 5 MHz chirp separates two targets 120 m apart.

A range profile with its CFAR threshold and four detections, rendered by RunMat

CFAR detection

Cell-averaging CFAR at a false-alarm rate of 1e-5.

Beam patterns of a 16-element array with uniform and Hamming weights, rendered by RunMat

Phased-array beam pattern

16 elements steered to 20 degrees, with and without a taper.

Detection range of an X-band radar against radar cross-section on log axes, rendered by RunMat

Detection range

The radar range equation from 0.001 to 10 m² of RCS.

Radar measurements, the extended Kalman filter track and the true path of a turning target, rendered by RunMat

Tracking a turning target

An extended Kalman filter on radar range and bearing.

Range-Doppler map of three targets and ground clutter from an X-band radar, rendered by RunMat

Range-Doppler map

64 pulses resolve three targets in range and closing speed.

Point-cloud map of mountain terrain built by four drones, with their LIDAR rays and flight paths, rendered by RunMat

Multi-drone SLAM

Four drones map unknown terrain with LIDAR and correct their drift.

What RunMat does not do

  • Simulink-style block diagrams, or code generation for FPGAs and other embedded targets
  • Qualification as a tool for airborne software (DO-178C, DO-330)
  • Antenna and radar cross-section solvers
  • Blast, penetration, and compressible or turbulent flow

Start here

  1. 01

    Open the radar example in your browser. No account needed.

  2. 02

    Run three of your own scripts and compare their run times.

  3. 03

    Talk to us about your team, your programs and where it runs.

Air-gapped deploymentSecurityAerospaceSignal processing