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

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-05-24 11:59:29+12:00
Desc:
updated airway FTU
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6b0/rawfile/c0f91d95b7c5f87273c8c17fc9b9cbdf3e4d9ca9/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);