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

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-06-24 21:32:07+12:00
Desc:
Added wang2010 paper
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6b0/rawfile/14da2ec145288c1daa022dddf44460bf00cdbbe4/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);