Learn R Programming

readsdr (version 0.3.0)

sd_pulse_train: PULSE TRAIN

Description

PULSE TRAIN

Usage

sd_pulse_train(time, start_pulse, duration_pulse, repeat_pt, end_pulse)

Value

1 during the pulse, 0 otherwise.

Arguments

time

A numeric argument that indicates the current simulation time

start_pulse

A numeric argument that indicates the start of the pulse

duration_pulse

A numeric argument that indicates the width of the pulse

repeat_pt

A numeric argument that indicates the repetition pattern

end_pulse

A numeric argument that indicates the end of the sequence

Examples

Run this code
sd_pulse_train(5, 5, 3, 10, 20)

Run the code above in your browser using DataLab