Tutorial

Grand total is 10 elements using 80 bytes . The column labeled "size" gives the size of each array; you should notice that, as I mentioned above, a scalar is regarded as a 1 by 1 matrix (see the entry for a, for example). MATLAB can perform the usual matrix arithmetic. Here is a matrix-vector product: A*x . ans = ................
................