I want to make square wave with function square which starts from 0 and not with amplitude

 채택된 답변

Walter Roberson
Walter Roberson 2018년 12월 11일

0 개 추천

[zeroes(1,M), ones(1,N)] repeated as necessary .

댓글 수: 2

shariq khan
shariq khan 2018년 12월 11일
using function square?
t = 0:.0001:.0625;
y = 1 - square(2*pi*30*t);
plot(t,y)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

2018년 12월 10일

댓글:

2018년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by