plot a discrete signal

조회 수: 4 (최근 30일)
ayman daraghmah
ayman daraghmah 2015년 9월 30일
편집: Adam 2015년 9월 30일
[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일
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개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by