I have been trying to find the number of columns of an array but apparently the ncols , size, and length functions don't produce the desired output.
Any suggestion on what is the correct way to find the number of columns of an array?
Thanks in advance.