Question: 1 . Import data into a numerical matrix called raw _ data from the project's data file with the function readmatrix ( ) . Extract
Import data into a numerical matrix called rawdata from the project's data file with the
function readmatrix
Extract all the electrical output datapoints GWh and store it to a matrix. Make sure that
each energy source is contained in a column. Also create a cell array that stores the energy
source names from the datafile consider the readcell function
Extract the dates as a column vector exclude the provisional year
Extract the provisional year incomplete last year of datapoints.
Append the year as the last element of the dates vector.
Create a copy of the data variable and scale the fossil fuel data down by a factor of Also
create the cell array that is needed for the legend shown below:
Fossil Energy
Nuclear Energy
Renewable Energy
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
