Global training solutions for engineers creating the world's electronics
Menu

Surf2patch Matlab -

% 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 .