zigzag path for an area

how to create zigzag line in a rectangular area......zigzag line should be like square wave form can anyone knows please help me.......please

Respuestas (1)

KSSV
KSSV el 26 de Oct. de 2016

0 votos

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

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Oct. de 2016

Respondida:

el 26 de Oct. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by