ENG EK 127
Worksheet 2
Name: Leonardo Coll
Instructions: The minimum set for this worksheet is all Problems. Note: the important
thing to record is the MATLAB expression(s) that you use to solve these problems.
1) Generate a
random real number in the ran
ENG EK 127
Worksheet 4
Name: Leonardo Coll
Instructions: Do all problems.
1. Write a simple script that will calculate the volume of a hollow sphere which is
4 3
( ro ri3 ) where ri is the inner radius and ro is the outer radius. Assign a value to a
3
var
ENG EK 127
Worksheet 3
Name: Leonardo Coll
Instructions: The minimum set is all problems.
1) For the following matrices A, B, and C:
A
1
3
B
2
1
3
4
2
C
1
5
3
6
0
6
3 2
4 1
5
2
Do the following in MATLAB:
Create the matrices
Find the result of 3*A
> 3
ENG EK 127
Worksheet 1
Name: Leonardo Coll U74591635
Lab Section: C2
Instructions: The solutions to these problems must be completed by the time you arrive
for the next class (Note: for Problems 1 and 2, just follow the instructions. You do not
need to ha
ENG EK 127
Worksheet 5
Name: Leonardo Coll
The minimum set is all problems. Make sure that you test all of your functions!
1. (Cody Coursework Problem) The velocity of a moving fluid can be found from the
difference between the total and static pressures
ENG EK 127: MATLAB INDEX Last Updated: 4/24/08 (Exam 3, up to Intro to Graphical User Interfaces) Abs . 49 Action (loops) . 75 Action . 55 Algorithm . 29 All (function) . 97, 98, 99 And operator . 59 Animation . 291 Anonymous Functions . 196 Function