How can we define piecewise functions along a 2D curve?
Show older comments
It's easy to define piecewise functions between specific points (triangular, rectangular, sinusoid functions) on x axis. How can we do it along a 2D curve? (e.g. on a circle)
Thanks,
Dave B.
1 Comment
Image Analyst
on 21 Feb 2014
What do you want as an output? For every "in between" point, do you want the coefficients of the polynomial or whatever function? Or do you just want the values of a fitting function at those points, like a Savitzky-Golay filter gives you?
Accepted Answer
More Answers (1)
Image Analyst
on 21 Feb 2014
0 votes
Would interparc() be of any use to you? http://www.mathworks.com/matlabcentral/fileexchange/34874-interparc
1 Comment
Dave
on 21 Feb 2014
Categories
Find more on Spline Postprocessing 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!