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

Risposte (1)

Image Analyst
Image Analyst il 23 Set 2023

0 voti

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 Commento

ran
ran il 23 Set 2023
Modificato: ran il 23 Set 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.

Accedi per commentare.

Richiesto:

ran
il 23 Set 2023

Modificato:

ran
il 23 Set 2023

Community Treasure Hunt

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

Start Hunting!

Translated by