Free Online Training Events
Free Technical Resources
% Display as a patch figure; patch('Faces', f, 'Vertices', v, ... 'FaceColor', 'interp', ... 'EdgeColor', 'none', ... 'FaceLighting', 'gouraud');
% Create surface data [X,Y,Z] = peaks(30); % Convert to patch format [f,v] = surf2patch(X,Y,Z); surf2patch matlab
Enter surf2patch .