You are studying the effects of climate change on the Arctic ice sheet. You have collected data at several locations on different dates. The data is stored in the matrix Ice. Each row of Ice contains the measurements made on a specific date. Each column of Ice contains the measurements made at a specific location. You may assume that Ice contains at least two rows and at least two columns, but may be considerably larger in either or both dimensions. As part of analyzing this data, write a single MATLAB command to achieve each goal below. The results from each step may be used in subsequent steps as necessary. HINT: Use help or doc to learn more about the functions mean and min.
a. Place the number of rows in Ice in the variable Dates and the number of columns in Ice in the variable Locs.
b. Add another row at the bottom of Ice that contains the averages of the values (ice thicknesses) in the corresponding columns.
c. Add another column on the right side of the modified matrix Ice that contains the averages of the values (ice thicknesses) in the corresponding rows. Note that after this step, the lower right corner value will be an overall average of all data in the original matrix.
d. Add another column on the right side of the modified matrix Ice that contains the minimum of the values (ice thicknesses) in the corresponding rows. Note that after this step, the lower right corner value will be the minimum of the average values that were added as a new bottom row in the second step above.
Want to see the full answer?
Check out a sample textbook solutionChapter 15 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- Can i get help with these questionsarrow_forwardconvert height to cm File Edit View Insert Format Data Tools 100% % .0 .00 123 D20 fx | A 1 5 feet 2 11 inches 3 cm 4 The preceding image shows a Google Sheet used to convert length in feet and inches to cm. What formula should be entered into A3 so that the correct length is computed in cm (in cell A3)? Your answer must work with any values the user might enter in cells A1 and A2. Choose all that apply a) = A1*12*2.54 + A2*2.54 b) = (5*12 + 11) * 2.54 %3D c) = B1*12*2.54 + B2*2.54 d) A1*12*2.54 + A2*2.54 e) = (A1*12 + A2) * 2.54 f) = A1*12 + A2 * 2.54 %24 田arrow_forwardThe figure shows the normal force on a jumping person as measured using a force table. A: From the graph, determine the weight of the jumping person. B: What is the maximum net force on the jumping person during the jump phase? C: Approximate the average net force during the jumping phase.arrow_forward
- Use MATLAB, please make sure you use the numbers on the picture to make the graph that is also on the pictures. Make an exact copy of that graph and make sure that it runs on MATLAB, please send the code and a screenshot of the graph to show that it works. I need help with this.arrow_forwardThe number of bacteria in a culture is increasing according to the law of exponential growth. The initial population is 250 bacteria, and the population after 12 hours is double the population after 1 hour. How many bacteria will there be after 4 hours? (Round your answer to the nearest whole number.)arrow_forwardRecord the dimensions of the known (calibration) block using the caliper and dial gauge on the table below. Indicate the units of each measurement. Calculate the average length of each side of the block. Dimension Caliper (Units) 0.995 1.455 0.985 Ruler(in) A: 0.9 B: 1.5 C: 0.9 A B C Dimension A B Instrument Use the average dimensions (see Problem 2a) of the known block to calibrate the LVDT at your workstation. Record the voltage on the table below: LVDT Offset: 0.556 (Do not include the offset value in your average dimensions) C Ave Dimension (Units) (Dial Gauge) 0.997 1.659 0.949 0.964 in 1.538 in 0.945 in oltage Average Dimension 1.244 volt 1.994 1.28 0.964 in 1.538 in 0.945 inarrow_forward
- Please answer in 10 minutes i want the solution fast Proportionality and scaling:arrow_forwardPlease write the answer in a paper and apload it because I cannot see it if you don't wrote it in a paper thank youarrow_forwardsample calculations 目 File Edit View Insert Format Data To 100% $ % .0 .00 12: fx | A 1 Variable Value Units diameter height m 4 volume m^3 3 The image above shows a section of a Google sheet. What formula should be written in cell B4 to calculate the volume of a cylinder with a diameter value in B2 and height in B3? a) =0.25*PI()*B2^2 * B3 b) =PI()*B2^2 * B3 c) =pi*diameter^2 * height d) =PI*B2^2 * B3 3 5arrow_forward
- I need help with this question. :)arrow_forwardNewton’s 2nd Law Lab (Modeling friendly lab) Go to the PhET simulation Forces & Motion. https://phet.colorado.edu/sims/html/forcesandmotionbasics/latest/forcesandmotionbasics_en.html Select “Acceleration” Click to show Forces, Sum of Forces, Values, Mass, and Acceleration. There are two experiments for this activity – make sure you include both. Experiment #1: Acceleration vs. Force In this lab you will determine the relationship between acceleration and net force. Choose a mass at the beginning, and keep it constant for this entire experiment. Set the friction to zero. This will make your Applied Force equal to the net force. Record data for five different values of Applied Force. Graph Acceleration vs. Net Force. Graph this in Google sheets(you want a line graph - it should only have one line). Make sure that Applied Force information is used as the x value Make sure that Acceleration information is used as the y value Add a trendline – see what fits best –…arrow_forwardHello I’m trying to make the graph that you see in the picture, I’m trying the exact copy of that graph using this code but I’m having a hard time doing that. Could you change the code so that it looks like the graph that you see on the picture using MATLAB, please send the code when you are finished. % Sample data for Diesel and Petrol cars carPosition = linspace(1, 60, 50); % Assumed positions of cars % Fix the random seed for reproducibility rng(45); % Assumed positions of cars CO2Diesel = 25 + 5*cos(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Diesel CO2Petrol = 20 + 5*sin(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Petrol % Fit polynomial curves pDiesel = polyfit(carPosition, CO2Diesel, 3); pPetrol = polyfit(carPosition, CO2Petrol, 3); % Generate points for best fit lines fitDiesel = polyval(pDiesel, carPosition); fitPetrol = polyval(pPetrol, carPosition); % Plotting the data figure; hold on; scatter(carPosition, CO2Diesel, 'o', 'MarkerEdgeColor', [1 0.5…arrow_forward
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning