> MatLab Question Loading and Plotting Data?

MatLab Question Loading and Plotting Data?

Posted at: 2014-12-18 
Practice 3.8, page 97

The sales (in billions) for two separate divisions of ABC Corporation for each of the four quarters of 2013 are stored in a file called "salesfigs.dat"

Cody will randomly generate some data for you, and store it into "salesfigs.dat"

First, create this file (just type the numbers in the Editor, and Save As "salesfigs.dat")

Then, write a script that will

load the data from the file into a matrix

separate this matrix into 2 vectors

create the plot seen in figure 3.7 (which uses black circles and stars as the plot symbols).

Enter MATLAB code to

load the data from the file into a matrix

separate the matrix into two vectors, DivA and DivB

create the plot seen in Figure 3.7 (which uses black circles and black stars as the plot symbols)