sd_pulse_train: PULSE TRAIN

View source: R/if_else_builtins.R

sd_pulse_trainR Documentation

PULSE TRAIN

Description

PULSE TRAIN

Usage

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

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

readsdr documentation built on May 29, 2024, 2:45 a.m.