Interpolation of data defined on triangular mesh
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cem
am 20 Okt. 2014
Beantwortet: Bill Greene
am 20 Okt. 2014
Dear all, I have a data defined on a geometry discretized with a triangular mesh. What I want to do is to map (interpolate) this data on another triangular mesh (but exactly the same geometry). So what I want is something similar to tri2grid (but for my case it should be tri2tri). Does anyone know if there already exists some code to do that? Built-in MATLAB functions does not seem to have this capability. Thanks.
0 Kommentare
Akzeptierte Antwort
Bill Greene
am 20 Okt. 2014
If you have access to the R2014b version of MATLAB, there is a new PDE Toolbox function, pdeInterpolant, that makes this operation straightforward.
http://www.mathworks.com/help/pde/ug/pdeinterpolant-object.html
The code would look something like this:
F = pdeInterpolant(pMesh1, tMesh1, dataMesh1);
dataMesh2 = evaluate(F, pMesh2);
Bill
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Boundary Conditions 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!