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 Kommentare

Adam Danz
Adam Danz am 18 Mär. 2019
"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.
martin martin
martin martin am 18 Mär. 2019
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.
Guillaume
Guillaume am 18 Mär. 2019
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.
martin martin
martin martin am 18 Mär. 2019
Bearbeitet: martin martin am 18 Mär. 2019
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)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 18 Mär. 2019

Bearbeitet:

am 18 Mär. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by