Educational: Building Arrays with For Loops (D&D)
Version 1.0.0 (1.43 KB) by
Dr. Kelsey Joy
Demonstration of how to code for loops in MATLAB and how these can be create an array of data. Beginning of a D&D character builder program.
This code is explained in the following YouTube Video:
For more of my YouTube Videos, check out my MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r
Also subscribe to my channel (Engineering with Dr. Kelsey Joy): https://www.youtube.com/channel/UCmZl7PfanvCILyiQ5R9rONA
Cite As
Dr. Kelsey Joy (2026). Educational: Building Arrays with For Loops (D&D) (https://www.mathworks.com/matlabcentral/fileexchange/102644-educational-building-arrays-with-for-loops-d-d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
