Question:Dynamically setting size in matrix questions

Question:Dynamically setting size in matrix questions

Dear All,

I'm creating matrix questions and wish to dynamically set the size of the matrix. So I'm trying something like this:

\qutext{Find the transpose of the matrix $$A=\left[\begin{array}{ccc} 1 & 2 & 3\\ 0 & 1 & -2\end{array}\right]$$}

\code{$a=3;} \size{$a}{2}

<snip>

But this doesn't seem to work.

Thanks

Colin

﻿