matlab-generate-5g-waveform

Generate 3GPP-compliant 5G NR downlink and uplink baseband waveforms from MATLAB configuration objects.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-generate-5g-waveform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-generate-5g-waveform
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/wireless-communications/matlab-generate-5g-waveform
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-generate-5g-waveform

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Generate 3GPP-compliant 5G NR downlink and uplink baseband waveforms without hand-crafting error-prone channel multiplexing, parameter sizing, and OFDM modulation.

Core Features & Use Cases

  • Standards-compliant waveform generation: Produce DL and UL baseband IQ using nrWaveformGenerator from carrier and channel configuration objects.
  • Common 5G workflow coverage: Create PDSCH/PUSCH plus supporting signals (PDCCH/PUCCH/SRS/SSBurst/CSI-RS/DM-RS/PT-RS) and generate multi-bandwidth-part layouts.
  • Correct API selection and guardrails: Use the waveform-generator APIs (nrDLCarrierConfig/nrULCarrierConfig) rather than incompatible primitive-level functions, while validating structural constraints and checking conflicts.
  • Test model and FRC support: Generate standardized test model (TM) and fixed reference channel (FRC) waveforms via hNRReferenceWaveformGenerator.

Quick Start

Use the skill to generate a 5G NR downlink waveform by asking your AI agent to configure a 20 MHz FR1 carrier with 30 kHz SCS using nrDLCarrierConfig and generate the waveform with nrWaveformGenerator, then plot the resource grid.

Frequently Asked Questions about matlab-generate-5g-waveform

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

FAQPage Schema
How do I generate a 3GPP-compliant 5G NR waveform in MATLAB?

To generate 5G NR waveforms in MATLAB, use nrWaveformGenerator with validated nrDLCarrierConfig or nrULCarrierConfig objects to synthesize standards-compliant downlink and uplink baseband IQ signals without manual channel multiplexing or OFDM modulation errors.

Can I generate 5G test model and fixed reference channel waveforms?

Yes, you can generate standardized test model (TM) and fixed reference channel (FRC) waveforms by using the hNRReferenceWaveformGenerator function, which handles the necessary configuration and sizing for compliance testing and measurement signal creation.

Does this approach support multi-bandwidth part and multi-numerology configurations?

Yes, the waveform generation workflow supports multi-bandwidth part (multi-BWP) and multi-numerology configurations, allowing you to create complex carrier layouts that include DL and UL control and data channels within a single baseband waveform synthesis process.

What 5G Toolbox APIs should I use to avoid configuration errors?

You should use the waveform-generator APIs like nrDLCarrierConfig and nrULCarrierConfig rather than incompatible primitive-level functions, ensuring structural constraints for BWP, CORESET, SSBurst, and CSI-RS are validated to prevent configuration conflicts.

What problem does using a waveform generator solve compared to manual OFDM modulation?

Using a waveform generator solves the problem of hand-crafting error-prone channel multiplexing, parameter sizing, and OFDM modulation, automatically validating structural constraints and checking conflicts to produce compliant 5G NR baseband waveforms.

How do I configure a 20 MHz FR1 carrier with 30 kHz SCS for waveform generation?

To configure a 20 MHz FR1 carrier with 30 kHz SCS, define the parameters within an nrDLCarrierConfig object and pass it to nrWaveformGenerator, which will output the synthesized baseband waveform and allow you to plot the resource grid.