C
is a cell consisting of some vectors:
C = {[1, 2], [2, 3]};
I want to read the first entry of the first vector in C
. But I can not use the following:
C{1}[2]
I get the following error:
Error: Unbalanced or unexpected parenthesis or bracket.
How can I make it read the value?
()
to access elements of vectors, not[]
. – ThijsW