matlab-design-radar-waveform

Design, select, and analyze radar and sonar waveforms using the Phased Array System Toolbox.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Choosing and configuring the right radar waveform in MATLAB is error-prone: engineers must match waveform families to requirements, derive parameters like bandwidth and PRF, and avoid common API mistakes with Phased Array System Toolbox objects. This Skill guides an AI agent through requirement clarification, waveform selection, configuration, and ambiguity analysis without hallucinating functions or misusing toolbox APIs.

Core Features & Use Cases

  • Waveform Selection Decision Tree: Maps requirements (pulsed vs CW, FM vs phase-coded, Doppler tolerance, sidelobe targets) to the correct object such as phased.LinearFMWaveform, phased.FMCWWaveform, phased.PhaseCodedWaveform, or phased.CustomFMWaveform.
  • Parameter Derivation and Analysis: Converts range resolution, velocity, and sidelobe requirements into bandwidth, PRF, and pulse width, then validates designs with ambgfun, pambgfun, and sidelobelevel.
  • Use Case: An engineer needs a waveform with 20 m range resolution, -40 dB sidelobes, and tolerance to 300 m/s targets. The Skill derives the bandwidth via rangeres2bw, detects any PRF conflict, designs an NLFM via nlfmspec2freq and CustomFMWaveform, and verifies PSL on the zero-Doppler ambiguity cut.

Quick Start

Ask the agent to design an LFM radar waveform for 10 m range resolution with a -35 dB sidelobe target and plot its ambiguity function.

Frequently Asked Questions about matlab-design-radar-waveform

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

FAQPage Schema
How do I choose a radar waveform in MATLAB?

Match requirements to a waveform family: LFM for Doppler tolerance, NLFM for low sidelobes without SNR loss, phase-coded for thumbtack ambiguity, FMCW for continuous automotive sensing, and stepped FM when hardware bandwidth is limited. The Skill's decision tree maps pulsed vs CW and modulation type to the correct phased object.

How do I design an NLFM waveform with low sidelobes in MATLAB?

Use nlfmspec2freq to compute the frequency profile from a desired spectrum shape such as taylorwin, then pass it to phased.CustomFMWaveform. Achievable PSL depends on time-bandwidth product; below TBP of 100 expect PSL well above the design target.

What is the difference between ambgfun and pambgfun?

ambgfun computes the standard ambiguity function for single pulses and pulse trains, while pambgfun computes the periodic ambiguity function for CW and periodic waveforms like FMCW. pambgfun exploits periodicity for finer Doppler resolution.

Why does my phase-coded waveform error in MATLAB?

Common causes are non-integer SampleRate times ChipWidth, setting NumChips when using Code='Custom', or a SampleRate/PRF ratio that is not an integer. Fix chip width with chipWidth = round(fs*chipWidth)/fs and omit NumChips for custom codes.

When should I not use this waveform design skill?

It does not cover full radar system simulation, beamforming, CFAR detection, clutter suppression like MTI or STAP, or communications waveforms such as OFDM. Those are system-level or separate-domain concerns outside waveform selection and analysis.