Borrar filtros
Borrar filtros

Parallel close curve with no equation

1 visualización (últimos 30 días)
Alejandro Fernández
Alejandro Fernández el 4 de Feb. de 2020
Respondida: Alejandro Fernández el 8 de Feb. de 2020
Hello, good morning, everyone.
Would anyone know, known the points of the red curve get the rest of the graphs (the points with which the rest of the graphs can be constructed) known the distance I want them to be?
In this graph that I pass, with font Wikipedia, the red curve corresponds to an easily calculable equation but in my case not. The only thing that is true is that it is a quite complex closed surface and of which I know only the points
I leave you the dot matrixes and the centroid which I also know in case it's of interest.
load centroids.mat
load points.mat
figure
plot(points(:,1), points(:,2), 'k', 'LineWidth', 2)
hold on
plot(centroids(1), centroids(2), 'r+', 'MarkerSize', 10, 'LineWidth', 2);

Respuesta aceptada

Alejandro Fernández
Alejandro Fernández el 8 de Feb. de 2020
I have found a “solution” you can approximate it into a polygon with polyshape and then offset it.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by