%50 overlap (signal processing)

4 vues (au cours des 30 derniers jours)
Ali Burak Gögebakan
Ali Burak Gögebakan le 7 Déc 2020
Commenté : Rik le 24 Mai 2021
Dear all,
I have a sound data which is include 144000 samples. I have to estimate from here and shift the signal 50 percent but I didn't. Please, help at this point.
vec= 1:144000
segmentlength= 1000
numberofsegments= length(vec)/segmentlength;
for i=numberofsegments
mysegment= vec((i-1)*segmentlength+1:i*segmentlength); ( I think there is a mistake here.Because overlap technique (%50) must add here but I didn't)
disp(mysegment)
pause
end
  1 commentaire
Rik
Rik le 24 Mai 2021
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 7 Déc 2020
vec= 1:144000
segmentlength= 1000
segidx = 1:segmentlength/2:length(vec)-segmentlength+1
numseg = length(segidx)
for i = 1:numseg
sb = segidx(i)
vec(sb:sb+segmentlength-1)
end

Community Treasure Hunt

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

Start Hunting!

Translated by