zigzag path for an area

1 回表示 (過去 30 日間)
udhaya ram  mohan
udhaya ram mohan 2016 年 10 月 26 日
回答済み: KSSV 2016 年 10 月 26 日
how to create zigzag line in a rectangular area......zigzag line should be like square wave form can anyone knows please help me.......please

回答 (1 件)

KSSV
KSSV 2016 年 10 月 26 日
t=0:.001:1;
f=10;
sq=1000*0.5*(square(2*pi*f*t)+1);
plot(t,sq)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by