...
- Doble FOR-Løkker
Pensum
- 5.2 - Nested FOR -loopsloops
- 5.4 - Loops with Vectors and Matrices: Vectorizing
a)
Lag en funksjon, matriseSum(matrise), som tar inn en 3x3-matrise og returnerer summen av alle tallene i matrisen. Unngå å bruke matlab sin innebygde sum()-funksjon.
...