Lecture 10: Matrices, coin flips, exercising
Schedule for today
Homework exercises from last lecture:
Exercise | Solution |
---|---|
Matrix of circle points | 2023-12-19_Circle.R |
Distance matrix between points | 2023-12-19_Distance.R |
Longest same-result coin sequence | Not Yet! |
Exercising with the coin flip data we generated earlier (updated!): 2023-12-19_coins2.zip
Homework
Self-study - Vectorization
- Vector subscripts
- Vectorized functions
- Logical subscripts
- Vectorized operations
- Vectorized points
- Vectorized shapes
- Lines
- Polygons