How to do quadratic interpolation in two dimensions on a plane
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kayson Christensen
am 19 Mai 2022
Kommentiert: Matt J
am 27 Mai 2022
I'm working on a project which analyzes the air velocity in front of a fan. We took measurments at various positions on an x-y plane placed perpendicular to the air flow, and read velocity in the z-direction only. I tried to create a surface plot to help visually show what the flow is like, but since I only have a few data points it looked really jagged. I then tried to use the interp2 function to try and smooth out the points but it came out like this:
I realize the interp2 is a linear interpolation technique, but is there a way we could do a quadratic fit in two dimensions? Since this should look more like a bell curve, as you would expect. All of this data is recorded in matricies, with identical x and y matricies for the plane, and a U matrix for the velocities. I appreciate any help I can get!
7 Kommentare
Torsten
am 25 Mai 2022
As it seems, the planes are in the direction of the outcoming air and not perpendicular to it ? In 1.jpg, one velocity direction (U,V or W) is listed ?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!