24小时热门版块排行榜    

查看: 808  |  回复: 2

06141001

新虫 (小有名气)

[求助] matlab的tsearchn函数如何使用?

请问有没有人用过 matlab的tsearchn函数?
我想查找一个点是不是在一个立方体内部,程序怎么写?
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

月只蓝

主管区长 (职业作家)

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.
MATLAB、MS小问题、普通问题请发帖求助!时间精力有限,恕不接受无偿私信求助。
2楼2015-08-24 13:11:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

06141001

新虫 (小有名气)

引用回帖:
2楼: Originally posted by 月只蓝 at 2015-08-24 13:11:51
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 ...

这个里面的TES怎么写?
3楼2015-08-24 14:27:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 06141001 的主题更新
信息提示
请填处理意见