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

1 view (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.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!