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

回答(1 个)

Image Analyst
Image Analyst 2023-9-23

0 个投票

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 个评论

ran
ran 2023-9-23
编辑:ran 2023-9-23
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.

请先登录,再进行评论。

提问:

ran
2023-9-23

编辑:

ran
2023-9-23

Community Treasure Hunt

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

Start Hunting!

Translated by