필터 지우기
필터 지우기

Generate square wave starting from 0

조회 수: 7 (최근 30일)
shariq khan
shariq khan 2018년 12월 10일
댓글: Walter Roberson 2018년 12월 12일
I want to make square wave with function square which starts from 0 and not with amplitude

채택된 답변

Walter Roberson
Walter Roberson 2018년 12월 11일
[zeroes(1,M), ones(1,N)] repeated as necessary .
  댓글 수: 2
shariq khan
shariq khan 2018년 12월 11일
using function square?
Walter Roberson
Walter Roberson 2018년 12월 12일
t = 0:.0001:.0625;
y = 1 - square(2*pi*30*t);
plot(t,y)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by