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

 Akzeptierte Antwort

Adam
Adam am 30 Sep. 2015
Bearbeitet: Adam am 30 Sep. 2015

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Mehr zu Signal Generation, Analysis, and Preprocessing finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 30 Sep. 2015

Bearbeitet:

am 30 Sep. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by