surface plot from 3d points
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am trying to plot a 3d surface from a collection of points that I have(X, Y, Z).
I have tried a couple of ways:
Use surface preparation code from matlab curve fitting toolbox. However, the plot does not capture the curvature too well. The point are most suited to an axisymmetric cup. My goal is to extract the equation of the axisymmetric surface curve. I woulld glad if someone could provide some suggestions. Thanks in advance.

d=importdata(values2.csv') ;
x=d(:,4);
y=d(:,5);
z=d(:,6);
X=x;Y=y; Z=z;
surffit = fit([x,y],z,'poly23','normalize','on')
plot(surffit,[x,y],z)
view([-23.83 49.71])
%%
plot(surffit,[x,y],z,'Style','lowess')
hold on
%%
plot(surffit,[x,y],z,'Style','Residuals')
%% Get the model equation
surffit
hold on
formula(surffit)

This is how i expect the surface to look like.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!