College of Natural Sciences
 
FAQs
This is for IE7 to hold div open

1.3.2.4. How can I initialize a low rank matrix easily?

Here's "Tony's trick," attributed to Tony Booer of Schlumberger:

To initialize a matrix with values "a" in the first row and values "b" in the second row, do the following:

[a(1,ones(1,m)) ; b(1,ones(1,m))]