How to find tangent of a curve and find the distance from the centre?

3 views (last 30 days)
I have plotted a curve from a jpg image using the ginput feature of matlab. It comes out to be a curve. I want to find the various radius of the curve at different points.I thought of finding the tangent at different point. But i dont know the curve equation, how to achieve this?

Answers (1)

Amit Bhowmick
Amit Bhowmick on 5 Jul 2021
If you have xdata ydata get the equation of the curve using cfit tools.

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!