sd_pulse_train: PULSE TRAIN

Description Usage Arguments Value Examples

View source: R/if_else_builtins.R

Description

PULSE TRAIN

Usage

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

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

Value

1 during the pulse, 0 otherwise.

Examples

1
sd_pulse_train(5, 5, 3, 10, 20)

Example output

[1] 1

readsdr documentation built on Jan. 13, 2021, 11:08 a.m.