how to create triangular wave form in two dimension as a fringe pattern in matrix form ?

i want to represent triangular wave form in to fringe pattern like sinusoidal fringe pattern in matrix form, how to do? code for triangular wave form is given below
%triangular waveform(1)
n=15;
t=0:n;
y=(-1).^t;
plot(t,y);
ylabel ('Amplitude');
xlabel ('Time Index');
TITLE ('Triangular waveform');

Answers (0)

Asked:

on 26 Apr 2017

Edited:

on 26 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!