Professor Tamara Moore and a team at Purdue created a MATLAB assignment to enable material selection and specification for CubeSat missions.
Students investigate shielding density offered by a range of materials to protect CubeSats, which must endure a harsh radiation environment while remaining compact and lightweight. The assignment focuses on developing MATLAB code that quantifies material‑specific shielding performance for microelectronics housed within a 10 × 10 × 30 cm nanosatellite. By integrating engineering analysis with programming practice, the resource connects radiation‑hardening concepts to practical spacecraft design constraints.
The problem set requires learners to implement a sub‑function that accepts a material name and thickness, selects the corresponding theoretical density (Al = 2.70 g cm⁻³, SiO₂ = 2.648 g cm⁻³, PMMA = 1.180 g cm⁻³, Pb = 11.35 g cm⁻³), and computes surface density using equation (1) H=σ/ρ. A main function calls this sub‑routine for thicknesses of 0.5 mm to 5 mm across all materials, assembles row vectors, and displays a formatted matrix. In the second portion, learners read detector‑specific data from TID_materials_data.csv, construct dose‑depth curves using the intensity decay relation (2) I=I0exp(−μσ) and its logarithmic form (3), and generate four‑panel figures with appropriate scaling (linear, semilog, log‑log). MATLAB commands such as function, for, if/else, plot, semilogx, loglog, subplot, polyfit, and polyval support regression model selection and overlay of fitted curves.
Through this activity, learners calculate shielding surface density for diverse materials and thicknesses, organize and document MATLAB functions for both individual and collaborative assignments, and produce and interpret dose‑depth plots that reveal radiation attenuation trends. They also compare dose trajectories recorded by interior versus exterior detectors, enabling informed decisions about material selection and shielding configuration for future CubeSat missions.