Smooth data on a Sloping wall

2 views (last 30 days)
ran
ran on 23 Sep 2023
Edited: ran on 23 Sep 2023
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

Answers (1)

Image Analyst
Image Analyst on 23 Sep 2023
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 Comment
ran
ran on 23 Sep 2023
Edited: ran on 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!