Circle interpolation - compute values inside

Hello gyus,
What is the best interpolation method for compute values inside circle? Is there a function that sums the circumference to center of gravity and divides by two and places it at half the distance and repeat that?

4 Comments

"What is the best interpolation method for compute values inside circle?"
There are an infinite number of coordinates inside the circle. Are you trying to determine if a given coordinate (x,y) is inside the circle or are you trying to list a set of coordinates at a given interval (like a grid) that are inside the circle?
"Is there a function that sums the circumference to center of gravity and divides by two and places it at half the distance and repeat that?"
That's pretty specific, but it would be very easy to write such a function.
I would like to calculate the values between the center of gravity and the perimeter values, but I don't know how to insert the resulting value at the correct coordinate.
the values of what?
insert into what?
The centre of gravity (assuming you mean centroid) of a circle (or do you mean disk?) is the centre of the circle. It's unclear why you don't just say centre.
In fact, I have electrodes around my torso and I'm trying to model the transversal section (colours map). Around the circle are values 1:100 (just representing some values)

Sign in to comment.

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 18 Mar 2019

Edited:

on 18 Mar 2019

Community Treasure Hunt

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

Start Hunting!