Educational: Building Arrays with For Loops (D&D)

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.

You are now following this Submission

This code is explained in the following YouTube Video:
Building Arrays with For Loop: https://youtu.be/r4zXQlufHkk
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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0