Operations on a sliding 2D window
Afficher commentaires plus anciens
Dear all,
my question concerns how can I apply some functions to study a subset of data given a dataset of spatial data (X,Y,Z).
Given a fixed window of size (length_X, length_Y), I would move it along X and Y directions. At every step I would compute the depth within which the 90% (p=0.9) of the data fall
P90 = prctile(A(:,3),p);
and store the result in a matrix.
Any suggestion how to performe this loop and store the results is welcome.
3 commentaires
Pullak Barik
le 25 Juin 2019
I would like to know how exactly does your window move?
Like does it increment in both x and y directions, or alternates between sliding in x and then sliding in y, etc.
Pullak Barik
le 25 Juin 2019
Also, I would like to know the format of the spatial data.
That is, how is the data inside matrix A structured and arranged?
Réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!