create new matrix with another matrix (downsampling)

1 次查看(过去 30 天)
hi
i have a 1xm matrix 'A' and want to make a new matrix that is 1xn 'B'
matrix B has values from matrix A IF the change in values are greater than 5 each time (if A(1,m)-A(1,m+1)>5)
(B is kinda down sample of A with a thereshold in pairs)

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by