# find the inflection point of a curve 3D (set of nodes) in matlab

3 Ansichten (letzte 30 Tage)
Alberto Acri am 3 Jun. 2024
Bearbeitet: Matt J am 4 Jun. 2024
How can I determine the inflection point of a set of nodes generating a curve in 3D space?
curve_x = curve_1;
figure
plot3(curve_x(:,1),curve_x(:,2),curve_x(:,3),'k.','Markersize',10)
hold on
plot3(curve_x(:,1),curve_x(:,2),curve_x(:,3),'-r','LineWidth',2)
hold off
grid off
axis equal
Before determining the inflection points, is it possible to make the curve ‘curve_x’ smoother (more like a curve) since the nodes are not placed at a certain distance from each other?
##### 0 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Akzeptierte Antwort

Matt J am 3 Jun. 2024
You can use csaps to fit a smoothing spline to the points and then fnder to differentiate the curve and observe curvature changes.
##### 4 Kommentare2 ältere Kommentare anzeigen2 ältere Kommentare ausblenden
Alberto Acri am 4 Jun. 2024
Thank you but I could not find a solution. Isn't there a code I can try to use for this case?
Matt J am 4 Jun. 2024
Bearbeitet: Matt J am 4 Jun. 2024
There is the curvature() command in this FEX submission, but I have never used it:

Melden Sie sich an, um zu kommentieren.

### Kategorien

Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange

R2021b

### Community Treasure Hunt

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

Start Hunting!

Translated by