Smooth data on a Sloping wall

i have a 2D flow data that i convert to matrixs of x,y,V,T and P near a sloping wall of 30 degre and i have a bit noicey data near the wall and i want to smooth it perpendicular to the wall and i cent fined a way to do it. i know i need to represent the nurmal to the wall but how i smooth only in the 30 degey i want??? i dont have a code for it i dont know how to aproch it but i add my data and an image of the problem

Réponses (1)

Image Analyst
Image Analyst le 23 Sep 2023

0 votes

I'd try to rotate the wall so that it's perfectly vertical or horizontal. Then use movmean or conv2 to blur it. Then rotate it back to the original orientation.

1 commentaire

ran
ran le 23 Sep 2023
Modifié(e) : ran le 23 Sep 2023
It cent work, if i rotate the wall and the smoothing is on the Temperature i will do nothing beacuse T did not rotate with the wall, movmean do not take in to acount the new locations in T. that my problem.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fluid Dynamics dans Centre d'aide et File Exchange

Question posée :

ran
le 23 Sep 2023

Modifié(e) :

ran
le 23 Sep 2023

Community Treasure Hunt

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

Start Hunting!

Translated by