%50 overlap (signal processing)
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
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.
Réponses (1)
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
0 commentaires
Voir également
Catégories
En savoir plus sur Filter Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!