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

1 view (last 30 days)
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)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!