Location: 12 L Platform 1 model codes @ 507ac7eefb10 / USMC / Maggio2012 / triangle.m
- Author:
- aram148 <a.rampadarath@auckland.ac.nz>
- Date:
- 2021-10-11 21:43:42+13:00
- Desc:
- Create VSM - Exported.cellml
- Permanent Source URI:
- http://models.cellml.org/workspace/6b0/rawfile/507ac7eefb10930c9eb5d5d9a7113ad5203639bd/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);