Hello, I have a matrix of order 768 X 256. How can I downsample every alternate column. So that, every second column in the matrix is downsampled. So that new matrix will have order 768 X 128?. Kindly help me out.
Show older comments
If A is of order 768 X 256. I need to downsample every alternate column, i.e. every 2nd column is downsampled. So that new matrix will have order 768 X 128. Kindly help me in this issue.
Thanks, Sai..
Accepted Answer
More Answers (1)
data= sepblockfun(data,[1,2],'mean');
Categories
Find more on Multidimensional Arrays 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!