| 3 | 1/1 | 返回列表 |
| 查看: 827 | 回復(fù): 2 | |||||
06141001新蟲 (小有名氣)
|
[求助]
matlab的tsearchn函數(shù)如何使用?
|
|
請(qǐng)問有沒有人用過(guò) matlab的tsearchn函數(shù)? 我想查找一個(gè)點(diǎn)是不是在一個(gè)立方體內(nèi)部,程序怎么寫? |
主管區(qū)長(zhǎng) (職業(yè)作家)
![]() |
專家經(jīng)驗(yàn): +1059 |
|
TSEARCHN N-D closest simplex search. T = TSEARCHN(X,TES,XI) returns the indices T of the enclosing simplex of the Delaunay tessellation TES for each point in XI. X is an m-by-n matrix, representing m points in n-D space. XI is a p-by-n matrix, representing p points in n-D space. TSEARCHN returns NaN for all points outside the convex hull of X. TSEARCHN requires a tessellation TES of the points X obtained from DELAUNAYN. [T,P] = TSEARCHN(X,TES,XI) also returns the barycentric coordinate P of XI in the simplex TES. P is an p-by-n+1 matrix. Each row of P is the barycentric coordinate of the corresponding point in XI. It is useful for interpolation. |

新蟲 (小有名氣)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|