Can I estimate hessian matrix without using of curve fitting
4 views (last 30 days)
Show older comments
Hi I have a lot of points(3d). The goal is calculation hessian matrix in each point. So I must fit a curve for each point first. In my field, for each point, a curve is estimated based on local neighbors(not a general curve for all points!). So, first I select neighbors but I don't want use polyfit or polyfitn for curve fitting,they have high errors because type of each curve is general. can anybody, any suggestion for discrete calculation of hessian matrix(So I am n't forced to fit a curve! and I can estimate hessian matrix directly with out using curve fitting), or any suggestion for a curve fitting that doesn't want type of curve! and have low error! Thanks a lot
0 Comments
Answers (1)
Walter Roberson
on 19 Feb 2017
You can use knn to find the local neighbors. There is a specific knn routine that is apparently fairly efficient.
But once you have the local neighbors you can not estimate the curve based on the local neighbors without having any idea of what the equation for the curve might be. If you have no idea what the curve might be then you have to assume that between the point and the located neighbors that the curve "really" behaves arbitrarily badly, that the "real" surface might have massive peaks or valleys or might have holes or might have a 6.318 yottahertz sine wave.
8 Comments
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!