Question: In the Main Body section, code the following: a . Assign EbyM 2 to a row vector of monthly energy values in the table below
In the Main Body section, code the following:
a Assign EbyM to a row vector of monthly energy values in the table below only the numbers in units of kWh assign a budget B to in units of dollars, and assign an energy cost rate CR as in units of dollars per
tableJanFeb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
b Call the MaxMinEnergy function with the input as EbyM and the outputs as MaxE MaxM MinE and MinM
c Call the EnergyCosts function with the inputs as EbyM CR and B and the outputs as EAvg CbyM CAvg and MexcB
d Suppress all variable outputs. a Your Command Window should look like Figure below. Note, your fprintf statements should include a "new line" to make your output look like Figure below.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
