Pre-computed triangulation for scatteredInterpolant
조회 수: 4 (최근 30일)
이전 댓글 표시
- I have a data file that contains >400 time steps of velocity data at spatial locations scattered in 3D space. I use the data in this file in a lot of MATLAB scripts. Using the scatteredInterpolant class I was able to get velocity at any location I want.
- However, it is rather time consuming to perform the triangulation every time I use the file.
- I tried to store the computed scatteredInterpolant objects for each time step in a cell array,. and save to a mat file on disk. The intention was to load up this new mat-file instead if I want to access the data.
- But it takes ages to load - as if MATLAB recomputes the functions every time the file loads.
Any solution to this? i.e. Is there a way to use scatteredInterpolant with pre-computed triangulation that I can just load up from a file?
댓글 수: 5
KSSV
2016년 5월 26일
2000 data points code should be fast enough. How much time it takes for one step calculation? Attach one step data here. Let me a give a try.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!