Question: need some help with this MATLAB question. This is all im given and im not sure how to approach this question. Via Cody Coursework.. Maximum,
need some help with this MATLAB question. This is all im given and im not sure how to approach this question. Via Cody Coursework..
Maximum, Minimum, and Average Daily Rainfall by Month Given a 31x12 array of weather data where each element is daily total rainfall in mm with non-existent data indicated by -99999, insert code to calculate the Maximum, Total,, and Average Daily Rainfall by Month (as row vectors) Your Function C Reset MATLAB Documentation function [Maxs, Tots,Means]MaxsTotsMeans (rawData) 2 format short g 3 format compact 6 | Max s- max ( rawData) . 71 Tots- % insert your code here 8 Means [1:12;Maxs;Tots;Means]' end Code to call your function C Reset 1 rawDatas %create or put your own test data here if you wish to try running your function 2 MaxsTotsMeans (rawData) example that can be edited and run to see result (s) of code before submitting Run Function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
