Accuracy of resampling for decreasing vector size
Show older comments
I'm wondering if anyone knows exactly how the resampling function works? I'm using it to decrease/reshape the size of my vector from 1473 to 1400, but I want to make sure the values in each column are still the mean of the data I'm compressing into the vector. I tried using this to decrease another vector from ~19000 to 1400, but ended up with almost all NaN's, so I am now questioning what it is really doing.
I would appreciate any insight you might have!
This is how im using resampling for the shorter vector:
Dat(1,:)=resample(A,1400,1473);
Accepted Answer
More Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!