Answered step by step
Verified Expert Solution
Question
1 Approved Answer
undefined 2. The following data provided (classdata.xlsx) was obtained from 10 iterations made by a structural engineer to understand the ability of a rectangular beam
undefined
2. The following data provided (classdata.xlsx) was obtained from 10 iterations made by a structural engineer to understand the ability of a rectangular beam section to resist bending in the x-axis by determining its moment of inertia, I, using the following function. Moment of inertia, I Where I: moment of inertia in the x-axis (m) b: base or width of the rectangular beam (mm) h: height of the rectangular beam (mm) a) Import the classdata.xlsx in matlab. Save classdata in your current folder as classdata.mat b) Load classdata using matlab file editor. c) Write a command that returns the number of rows and number of columns in classdata. d) Write a command to display all the variables and their elements in classdata. Note: Do not suppress screen printing e) Compute variable h3 equal to the height of the beam raised to the power of 3. f) Write a command that computes the moment of inertia. I. (Note the units for I is m*) g) Plot the base vs inertia and height vs inertia on the same graph. (i.e. Use hold on command) h) Annotate your graphs appropriately (i.e xlabel, ylabel, title, units and legend) Note: Comment your program. base height 3.20 2.80 3.25 2.86 3.00 2.50 3.20 3.00 3.20 3.10 3.20 3.15 4.00 3.10 4.20 3.25 4.22 3.25 5.10 4.30Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started