The expression [1.511102307000000e+09;2.862954597000000e+09;991052076] is a Matlab array (vector) with three elements. The exponential notation e+09 means that the number is multiplied by 10 to the power of 9. To assign this array to a variable, you can write:
main.m67 chars2 lines
You can access each element of the array using its index, like this:
main.m120 chars4 lines
You can also perform operations between arrays of the same size, like addition, subtraction, multiplication and division element-wise:
main.m219 chars6 lines
Note that the dot before the operator is necessary to perform element-wise operations. Without the dot, Matlab would try to perform matrix operations, which would raise an error because the dimensions don't match.
gistlibby LogSnag