[x,fs2,nbits2]= wavread('w.wav');
stem(x);
I want to plot a 20 samples section of x.

 採用された回答

Adam
Adam 2015 年 9 月 30 日
編集済み: Adam 2015 年 9 月 30 日

0 投票

stem(x(1:20))
will plot the first 20 samples of x, assuming it has that many. Or
stem(x(345:364))
etc, to plot some other arbitrary section of 20 samples.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSignal Generation, Analysis, and Preprocessing についてさらに検索

質問済み:

2015 年 9 月 30 日

編集済み:

2015 年 9 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by