Thread Subject: How to plot signal with new startindex and endindex

Subject: How to plot signal with new startindex and endindex

From: Neo

Date: 28 Nov, 2008 23:00:20

Message: 1 of 1

for i=1:L
    if energy(i)>z
        startindex=i
    end
end

energy2=energy(end:-1:1);
for i=1:L
    if energy2(i)>z
        endi=i;
        endindex=nframes-endi+1
    end
end

Hi, I now have a new startindex and endindex of a Wav file, as I have removed the noise. How do I now plot this and play it?

Thanks

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
wav Neo 28 Nov, 2008 18:05:06
algorithm Neo 28 Nov, 2008 18:05:06
endpoint Neo 28 Nov, 2008 18:05:06
energy Neo 28 Nov, 2008 18:05:06
wavplay Neo 28 Nov, 2008 18:05:06
noise Neo 28 Nov, 2008 18:05:06
rssFeed for this Thread

Contact us at files@mathworks.com