Azzera filtri
Azzera filtri

plot a discrete signal

2 visualizzazioni (ultimi 30 giorni)
ayman daraghmah
ayman daraghmah il 30 Set 2015
Modificato: Adam il 30 Set 2015
[x,fs2,nbits2]= wavread('w.wav');
stem(x);
I want to plot a 20 samples section of x.

Risposta accettata

Adam
Adam il 30 Set 2015
Modificato: Adam il 30 Set 2015
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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by