matlab-simulate-radar-detections

Configure and simulate statistical radar detections using radarDataGenerator within radarScenario.

995|122|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-simulate-radar-detections
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-simulate-radar-detections
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/radar/matlab-simulate-radar-detections
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-simulate-radar-detections

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Bridging radar hardware specifications or performance requirements to MATLAB's statistical detection simulation API is error-prone: agents hallucinate property names, mix up dB and linear units, misconfigure scan rates, and silently produce zero detections. This Skill guides an interactive, validated workflow for building radar detection scenarios with radarDataGenerator inside radarScenario.

Core Features & Use Cases

  • Interactive 9-step workflow: Walks from use-case confirmation through parameter sourcing (top-down, bottom-up, or datasheet ingestion), target set design, terrain/occlusion, and a traceable requirements sheet.
  • Link budget bridging: Derives ReferenceRange from hardware specs using radareqrng, detectability decomposition, and Swerling-aware Pd prediction, with self-consistency validation against RadarLoopGain.
  • Scan mode and coordinate expertise: Correct handling of mechanical/electronic scan rates, NED/ENU/ECEF frames, DetectionCoordinates conversion, and common pitfalls like default 1 Hz UpdateRate and RangeLimits gating.
  • Use Case: A user provides a surveillance radar datasheet and asks for a Monte Carlo detection study on UAV and fighter targets; the Skill extracts parameters, closes the link budget, configures the scenario, and validates simulated Pd against analytical predictions.

Quick Start

Ask the agent to build a radarDataGenerator simulation of a ground-based surveillance radar scanning a sector for airborne targets, starting from your hardware specs or range requirement.

Frequently Asked Questions about matlab-simulate-radar-detections

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate radar detections in MATLAB with radarDataGenerator?

Create a radarScenario, add platforms with waypointTrajectory or geoTrajectory, attach a radarDataGenerator sensor, and call detect(scenario) in a loop with advance(scenario). Set ReferenceRange, ReferenceRCS, DetectionProbability, and FalseAlarmRate to govern detection, and always set the sensor UpdateRate explicitly since the default is 1 Hz.

How do I derive ReferenceRange from radar hardware specifications?

Compute the required SNR with detectability(Pd, Pfa, 1, 'Swerling0'), subtract coherent integration gain, add system losses, then call radareqrng(lambda, snr, Pt, tau, 'Gain', G_dBi, 'Ts', Ts, 'RCS', rcs_linear). Exclude fluctuation loss because radarDataGenerator applies Swerling fluctuation internally at detection time.

Why does my radar simulation produce no detections?

The most common causes are RangeLimits defaulting to [0, 100 km] while targets are farther away, the sensor UpdateRate left at the 1 Hz default making the beam scan too slowly, or the scenario UpdateRate being lower than the sensor UpdateRate causing dwell aliasing. Targets outside the scan sector or beyond the radar horizon also produce zero detections.

When should I use radarTransceiver instead of radarDataGenerator?

Use radarTransceiver when you need I/Q-level waveform simulation, CFAR detector design, beamforming, MTI/STAP processing losses, or Swerling 2/4 fast-fluctuating targets. radarDataGenerator is statistical-level only and does not model signal processing chains, jamming, or bistatic configurations.

Does radarDataGenerator support terrain occlusion and clutter?

Yes, terrain occlusion via landSurface requires IsEarthCentered=true with geoTrajectory, and clutter requires clutterGenerator paired with a landSurface or seaSurface. HasOcclusion on the sensor is target-to-target occlusion only, and FalseAlarmRate should not be used to simulate surface clutter.

What MATLAB toolboxes are required for radar detection simulation?

The workflow requires Radar Toolbox for radarScenario, radarDataGenerator, radareqrng, and detectability, plus Phased Array System Toolbox for helpers like beamwidth2gain, systemp, and freq2wavelen. MATLAB R2024b or later is required per the skill manifest.