%% Create and Scale Cuboid Mesh
% Create an extendedObjectMesh object and scale the object.
% Construct a cuboid mesh of unit dimensions.

 cuboid = extendedObjectMesh('cuboid');

% Scale the mesh by different factors along each of the three axes.

scaledCuboid = scale(cuboid,[100 30 20]);

% Visualize the mesh.

show(scaledCuboid);

% Copyright 2021 The MathWorks, Inc.