Confusion about the vector part of Optional lab 1 of week 2

What exactly is your question?

Dimension is called the no of elements in an array or vector?

The term “dimension” can have different meanings depending on the context in which it is used, hence the sentence in your screenshot that states that the term has been overloaded. I think that when referring to a vector, it refers to the number of elements in the vector. But when referring to a matrix, it refers to the number of indices in the matrix (e.g. an m x n matrix is two-dimensional, while an m x n x p x q matrix is four-dimensional).

The ambiguity in this case is perhaps exacerbated by the fact that in your screenshot, both vectors and matrices are referred to as “arrays.”

1 Like

Hey this really helped thanks. Also i want to know if you guys are just reading the optional labs or you are putting some efforts into it ?

I don’t remember what the optional labs looked like and I don’t have access to them anymore, but if it’s like some of the other courses, there shouldn’t be much, if any at all, coding to do for them. I think they’re just meant to be educational, so as long as I felt that I get the gist of what they’re trying to teach, I sort of skimmed through the exercises.

And when do we get to implement all these ? I mean there are only 2 practice labs in week2,3 .