Boundary function (Shrink Factor)

조회 수: 6 (최근 30일)
Amin Kassab-Bachi
Amin Kassab-Bachi 2017년 8월 4일
댓글: Amin Kassab-Bachi 2017년 8월 4일
Hi, I worked on a project that required using the function [k,v]=boundary (x,y,z,s); where is s is the shrink factor that determines the tightness of the boundary enclosing the (x,y,z) data poits. I know what s does. But what's not mentioned in the MATLAB help to the best of my knowledge is , how does s work? I need to know the answer to that for two reasons. 1- it may help me choose the best s for my application. 2- I need to know if there is an explanation to how it works so I can put it in my project report!!!
If you have an idea about this, please do share! it's really important and kind of urgent too :)
Thanks, Amin

채택된 답변

Walter Roberson
Walter Roberson 2017년 8월 4일
You can read the code for boundary(). It creates an alpha shape object with the vertices and infinite alpha. It then uses the alphaSpectrum() method on the alpha shape object:
"a = alphaSpectrum(shp) returns the values of the alpha radius that produce distinct alpha shapes. a is in descending sorted order. Each element in a represents a value of the alpha radius that results in a distinct shape."
It then goes 1-S of the way through the list and uses that alpha.
  댓글 수: 1
Amin Kassab-Bachi
Amin Kassab-Bachi 2017년 8월 4일
Thanks a lot! that's really helpful.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by