In MATLAB, columns or vectors are referred to as "spalten". To create a column vector in MATLAB, use the colon operator to specify the range of values to be included in the vector.
Here is an example:
main.m93 chars6 lines
The output would be:
main.m21 chars11 lines
In this example, the apostrophe (') is used to transpose the row vector created by the colon operator into a column vector. This is important as MATLAB is a column-major language, meaning that it stores its arrays and matrices in column order.
gistlibby LogSnag