Generation Of Solid Shapes Using Random Number Generator
Version 1.0.0.0 (3.34 KB) by
Nishant Gupta
Generation Of Solid Shapes Using Random Number Generator.
Generation Of Solid Shapes Using Random Number Generator.
The Solid Shapes included are:
1) Cuboid/Cube
2) Sphere
3) Cone
4) Conical Frustum
5) Pyramid
6) Pyramidal Frustum
7) Cylinder
Take it as an exercise in understanding how to create constraints to rand() function, in order to get desired results.
Cite As
Nishant Gupta (2026). Generation Of Solid Shapes Using Random Number Generator (https://www.mathworks.com/matlabcentral/fileexchange/31892-generation-of-solid-shapes-using-random-number-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Random Number Generation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
