In the attached file, I was expecting a three by two matrix but I am just getting a column matrix with 6 rows.
It looks like I am doing something wrong with the sintaxis.
Any help will be really appreciated.
thanks in advance,
You problem is a bad use of range variables. See my comments in the attached file.
Richard had posted some fine articles to learn from, recently: http://communities.ptc.com/message/199275#199275
EDIT: had the reply open while working on the file, so I had not realized that Alan had already posted the solutions - so you have it twice 😉
Alan and Werner, thank you very much for your kind help.
And, yes indeed, both answers were the same.