Question: B D 1 side length 2 [cm] 3 total perimeter [cm] 1 surface area [cm^2] 12 volume [cm^3] 6 1 54 4 5 mino 36
![B D 1 side length 2 [cm] 3 total perimeter [cm]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f31c4d77629_52466f31c4cea39b.jpg)
B D 1 side length 2 [cm] 3 total perimeter [cm] 1 surface area [cm^2] 12 volume [cm^3] 6 1 54 4 5 mino 36 60 84 150 294 27 125 343 6 7 108 486 729 The above Excel spreadsheet (with many more rows) is the final goal of this MATLAB script. For each side length of a cube (L), it shows the cube's total perimeter (12*L), the surface area (6*L?), and the volume (L3). For you to do in a well-commented MATLAB script: 1. Declare a column vector for the side lengths that goes from 1 to 99 in steps of 2. 2. Compute each of the other three columns separately. 3. Concatenate all four columns into one matrix 4. Declare a cell array (use curly braces) for the column headers (row 1) 5. Declare another cell array for the units (row 2) 6. Use xlswrite to save all of the information into one sheet of a .xls document B D 1 side length 2 [cm] 3 total perimeter [cm] 1 surface area [cm^2] 12 volume [cm^3] 6 1 54 4 5 mino 36 60 84 150 294 27 125 343 6 7 108 486 729 The above Excel spreadsheet (with many more rows) is the final goal of this MATLAB script. For each side length of a cube (L), it shows the cube's total perimeter (12*L), the surface area (6*L?), and the volume (L3). For you to do in a well-commented MATLAB script: 1. Declare a column vector for the side lengths that goes from 1 to 99 in steps of 2. 2. Compute each of the other three columns separately. 3. Concatenate all four columns into one matrix 4. Declare a cell array (use curly braces) for the column headers (row 1) 5. Declare another cell array for the units (row 2) 6. Use xlswrite to save all of the information into one sheet of a .xls document
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
