MATLAB Microelectronic Coding Problem - Total Ionizing Dose Problem Set
Students research shielding density provided by a variety of materials to protect CubeSats. The shields must protect the satellite from the harsh environment yet remain small and light.
For this problem students will need to write a main and sub-function.
The sub-function must be able to:
Accepts two inputs:
The name of material being used
The thickness of the material in mm
Choose the density that corresponds with the inputted material
Display a meaningful error message if material is not valid
Calculate the shielding density from the thickness and material density following equation (1) using proper units
Returns one output: surface density in
The main function must be able to:
Accept no inputs
Call the sub-function to calculate surface densities for material thicknesses 0.5mm, 1mm, 2mm, 3mm, 4mm, and 5mm, for all materials using a for loop
Create a row vector for each material in the process
Create and display a matrix using the vectors for each material following the format below. Use print statements to indicate the thicknesses and materials for each section.