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

1 回表示 (過去 30 日間)
ajeet verma
ajeet verma 2017 年 4 月 26 日
編集済み: Walter Roberson 2017 年 4 月 26 日
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 Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by