Question: Matlab script BOP TEMPERATURE EFFE Effects Of Low Temp Week 8 Assignment Attached Files: Normtemp.xls (28.5 KB) PART A: 1. Create an array of structs
Matlab script BOP TEMPERATURE EFFE Effects Of Low Temp Week 8 Assignment Attached Files: Normtemp.xls (28.5 KB) PART A: 1. Create an array of structs containing material properties. There will be 3 fields: name of material, modulus of elasticity, and yield strength, called name,"E" and "yst" respectively. There will be 4 elements in the array. Call the struct "material." Include the following data: Material Elasticity (GPa) Yield Strength (MPa) 276 69 324 145 193 Stainless Steel Copper Zinc Aluminunm 83 70 2 Create a cell array containing the same data as above. 3. Wrap a function around problem 1. It will have 1 input and no outputs. The input will be the index of the material in the struct (1. 2, 3, or 4). The function will print the name of the material, elasticity, and yield strength to the screen. For example, for an input value of 2 it will print Material Elasticity Yield Strength copper 117 GPa 68 MPa B: Using the normal body temperature data found on Blackboard- Write a script to import the Excel file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
