Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

tripulse

Triangular pulse function

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

tripulse(a, b, c, x)
tripulse(a, c, x)

Description

tripulse(a, b, c, x) represents the triangular function.

tripulse(a, c, x) is a shortcut for tripulse(a, (a + c)/2, c, x).

tripulse(x) is a shortcut for tripulse(-1, 0, 1, x).

tripulse and triangularPulse are equivalent. These functions represent the triangular pulse function. For details and examples, see triangularPulse.

Parameters

a, b, c, x

Arithmetical expressions.

Return Values

Arithmetical expression.

Overloaded By

x

Was this topic helpful?