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

1 次查看(过去 30 天)
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');

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by