sampling sawtooth sequence at high rate

why matlab give error fs = 10000 n=0:10000 t = 0:1/fs:1.5; x1 = sawtooth(2*pi*50*t); subplot(2,1,1) stem(n,x1) axis([0 0.1 -1.2 1.2])

1 件のコメント

ahmad ramadan
ahmad ramadan 2018 年 10 月 23 日
the error say
Error in Untitled6 (line 6) stem(n,x1)

サインインしてコメントする。

 採用された回答

madhan ravi
madhan ravi 2018 年 10 月 23 日

0 投票

fs = 10000
t = 0:1/fs:1.5;
x1 = sawtooth(2*pi*50.*t);
subplot(2,1,1)
stem(x1)
xlim([1 200])

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

タグ

質問済み:

2018 年 10 月 23 日

回答済み:

2018 年 10 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by