[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 Exchange에서 Signal 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