zigzag path for an area

1 Ansicht (letzte 30 Tage)
udhaya ram  mohan
udhaya ram mohan am 26 Okt. 2016
Beantwortet: KSSV am 26 Okt. 2016
how to create zigzag line in a rectangular area......zigzag line should be like square wave form can anyone knows please help me.......please

Antworten (1)

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

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by