Pulse Waveform Library
Libraries:
      Radar Toolbox
   
Description
The Pulse Waveform Library generates different types of pulse waveforms from a library of waveforms.
Ports
Input
Index to select the waveform, specified as a positive integer. The index selects the waveform from the set of waveforms defined by the Specification of each waveform in the library parameter.
Data Types: double
Output
Pulse waveform samples, returned as a complex-valued vector or complex-valued matrix.
Data Types: double
Complex Number Support: Yes
Parameters
Sample rate of the output waveform, specified as a positive scalar. The ratio of Sample rate (Hz) to each element in the Pulse repetition frequency (Hz) vector must be an integer. This restriction is equivalent to requiring that the pulse repetition interval is an integral multiple of the sample interval.
Pulse waveforms, specified as a cell array. Each cell of the array contains the specification of one waveform. Each waveform is also a cell array containing the parameters of the waveform.
{{Waveform 1 Specification},{Waveform 2 Specification},{Waveform 3 Specification}, ...}
Built-in Waveforms
| Waveform type | Waveform identifier | Waveform name-value pair arguments | 
| Linear FM | 'LinearFM' | See Linear FM Waveform Arguments | 
| Phase coded | 'PhaseCoded' | See Phase-Coded Waveform Arguments | 
| Rectangular | 'Rectangular' | See Rectangular Waveform Arguments | 
| Stepped FM | 'SteppedFM' | See Stepped FM Waveform Arguments | 
You can create a custom waveform with a user-defined function. The first
                        input argument of the function must be the sample rate. Use a function
                        handle instead of the waveform identifier in the first cell of a waveform
                        specification. The remaining cells contain all function input arguments
                        except the sample rate. Specify all input arguments in the order they are
                        passed into the function. The function must have at least one output
                        argument to return the samples of each pulse in a column vector. You can
                        only create custom waveforms when you set Simulate
                            using to Interpreted
                        Execution.
Source of simulation sample time, specified as Derive from waveform
                parameters or Inherit from Simulink engine.
            When set to Derive from waveform parameters, the block runs
            at a variable rate determined by the PRF of the selected waveform. The elapsed time is
            variable. When set to Inherit from Simulink engine,  the
            block runs at a fixed rate so the elapsed time is a constant.
Dependencies
To enable this parameter, select the Enable PRF selection input parameter.
Block simulation, specified as Interpreted Execution or Code
Generation. If you want your block to use the MATLAB® interpreter,
choose Interpreted Execution. If you want
your block to run as compiled code, choose Code Generation.
Compiled code requires time to compile but usually runs faster.
Interpreted execution is useful when you are developing and tuning a model. The block runs the
            underlying System object™ in MATLAB. You can change and execute your model quickly. When you are satisfied
            with your results, you can then run the block using Code
                Generation. Long simulations run faster with generated code than in
            interpreted execution. You can run repeated executions without recompiling, but if you
            change any block parameters, then the block automatically recompiles before
            execution.
This table shows how the Simulate using parameter affects the overall simulation behavior.
When the Simulink® model is in Accelerator mode, the block mode specified
            using Simulate using overrides the simulation mode.
Acceleration Modes
| Block Simulation | Simulation Behavior | ||
| Normal | Accelerator | Rapid Accelerator | |
| Interpreted Execution | The block executes using the MATLAB interpreter. | The block executes using the MATLAB interpreter. | Creates a standalone executable from the model. | 
| Code Generation | The block is compiled. | All blocks in the model are compiled. | |
For more information, see Choosing a Simulation Mode (Simulink).
Extended Capabilities
C/C++ Code Generation
 Generate C and C++ code using Simulink® Coder™.
Version History
Introduced in R2021a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
