Location: Tong_2011_V1 @ c34dd0cd0ede / code / Distribution-Moment-Approximation-Physiome-paper-1.0 / RK4ZahM_ASM / triangle.m

Author:
Leyla <noroozbabaee@gmail.com>
Date:
2022-06-13 21:13:50+12:00
Desc:
Final Version Figure 1.
Permanent Source URI:
https://staging.physiomeproject.org/workspace/85c/rawfile/c34dd0cd0ede67cbef05bcb02934b699325457b3/code/Distribution-Moment-Approximation-Physiome-paper-1.0/RK4ZahM_ASM/triangle.m

% The usage is the same as sin(2*pi*f*t)
function y = triangle(t)
y = abs(mod((t+pi)/pi, 2)-1);