CS107: Computing for Math CS107: and Science and
Lecture 03: Functions
CS107, Prof. Steinberg, S10
Lecture 03
Matlab
Matlab is:
A programming language A library of programs An Interactive Development
CS107: Computing for Math CS107: and Science and
Lecture 03: Functions
CS107, Prof. Steinberg, S10
Lecture 03
Matlab
Matlab is:
A programming language A library of programs An Interactive Development
CS107: Computing for Math and Science
Click to edit Master subtitle style Lecture 05: means-ends booleans ifs
CS107, Prof. Stenberg F10
Lecture 05
1
Pieces to Build With
Sequences of numbers Select
CS107: Computing for Math and Science
Click to edit Master subtitle style Lecture 06: IF and Nested IF
CS107, Prof. Steinberg, S10
Lecture 06
1
If
if boolean expression statements elseif boolean expre
CS107: Computing for Math and Science
Click to edit Master subtitle style Lecture 09: More Loops
CS107, Prof. Steinberg, f10
Lecture 09
1
Different Parts of a Problem
total = 0; for j = 1:n total = to
CS107: Computing for Math CS107: and Science and
Instructor: Prof. Tomasz Imielinski
Office: TBD email: [email protected] Office hours: by appointment
TAs:
Kwak Saehoon
CS107, Prof. Steinberg,
CS107: Computing for Math and Science
Click to edit Master subtitle style Lecture 07: Loops
CS107, Prof. Steinberg, S10
Lecture 07
1
Boolean Vectors
Result of [2 3 4] + 3 is [5 6 7] 2 > 3 is an oper
CS107: Computing for Math and Science
Click to edit Master subtitle style Lecture 08: More Loops
CS107, Prof. Steinberg, f10
Lecture 08
1
Input
The function input(prompt) prints the prompt, waits for