How to smooth a 3d surface
10 views (last 30 days)
Show older comments
How to smooth my 3d plot,i tried smooth function but it only works for 2dimensional.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169359/image.png)
Y is a 201x201 matrix
Y= [201 201]
x = 10:0.1:30;
z = 1:0.01:3;
[X,Z] = ndgrid(x,z);
mesh(X,Z,smooth(Y))
0 Comments
Answers (1)
See Also
Categories
Find more on Smoothing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!