Location: 12 L Platform 1 model codes @ 6fbbbd384ce3 / USMC / Maggio2012 / triangle.m

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-07-13 13:42:48+12:00
Desc:
VSM ftu added
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6b0/rawfile/6fbbbd384ce343a4620522ee22079bcfc7ff99d6/USMC/Maggio2012/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);