cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

Highlighted
Regular Member

In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

To all,

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,

Rogelio

4 REPLIES 4
Highlighted

Re: In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

See attached

Alan

Highlighted

Re: In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

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 😉

Highlighted

Re: In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

Alan and Werner, thank you very much for your kind help.

Regards,

Rogelio

Highlighted

Re: In the following calculation, I was expecting a three by two matrix, but it only shows a vector with 6 rows

And, yes indeed, both answers were the same.

thanks,

Announcements