Joseph Curran
CS122L-5
Pre-Lab 4
5 October 2016
Pre-Lab 4
CS 122L - 5 Points Total
1)
X=[1:0.05:3];
Y=([1:0.05:3].^2);
plot(x,y);
2)
a)
_ _ dashed line
: dotted line
b)
r red
b blue
c)
X cross
h hexagram
3) Using your answers to questions 1 and 2, write t

Joseph Curran
CS122L-5
Prelab 6
19 October 2016
Pre-Lab 6
CS 122L - 5 Points Total
Objectives
The objectives are to introduce the following concepts:
vector element access
compound conditional statements
pie charts
Deliverables
Submit your pre-lab answ

Joseph Curran
CS122L-5
Pre-Lab 3A
27 September 2016
Pre-Lab 3A
CS 122L - 5 Points Total
1. a non-zero vector that does not change its direction when that linear
transformation is applied to it.
https:/en.wikipedia.org/wiki/Eigenvalues_and_eigenvectors
2.

Lab 0: Pair Programming
CS 122L 10 Points Total
1. In pair programming, what is the role of the driver?
The role of the driver is to actively type in the code to the computer.
2. In pair programming, what is the role of navigator?
The role of the navigato

Joseph Curran
CS122L- 5
Pre- Lab 2
14 September 2016
Pre- Lab 2
1) The primary form of data in MATLAB is vectors. They can be one-dimensional (i.e.,
vectors), or two-dimensional (i.e., matrices).
a) Write the MATLAB code to create a 1x3 vector containing

Joseph Curran
CS122- 2
Hw 3
11 October 2016
CS122
Homework 3: Intro to Branching
Statements and Loops
15 Points Total
Assignment
The following exercises are to be completed for Homework 3:
1.
For the MATLAB script below, which disp() function will be exec

Lab 4: Plotting Fun!
(or: putting some art in your science)
CS 122L 15 Points Total
Objectives
Review MATLAB functions to generate really cool plots
Duplicate some example plots
Create your own design and plot it
Background
Of course the plotting power of

Joseph Curran
Janicia Ortiz
CS122L-5
Lab3
22 September 2016
Lab 3
Task Description
The lab task was to calculate and plot the trajectory of projectile by implementation equations
and graphs into MATLAB. In doing this, we are demonstrating mastery of vecto