Main Content
triangle
Triangle wave test signal
Syntax
Description
triangle(
generates a triangle wave from the
input x
)x
based on the equation,
where the L-brackets represent the floor of the contents. The output wave has a range
from -1 to 1. Use the et
operator as the input to generate the wave throughout simulation time in the test step.
Divide et
by a value to specify a period. Use the
triangle
operator in the test step of a Test
Sequence or Test Assessment block.
Examples
Input Arguments
Version History
Introduced in R2015a