Anonymous - 2004-03-11

Let X = [a b] be a matrix whose columns are a and b. (a,b, X have complex elements.)
I wanna calculate Y = [3*a b] by using operation on X.
How can I make a code to do this?
I tried with below codes.

cmat Y;
Y = concat_horizontal(3 * X.get_col(0), X.get_col(1) )

But running these codes makes erros.
Help me please~