フィルターのクリア

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 Center および File ExchangeWaveform Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by