zigzag path for an area

4 次查看(过去 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 CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by