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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to stack all columns of a large matrix?

FF
2-Explorer
2-Explorer

How to stack all columns of a large matrix?

I want to stack all 100 columns of a 1000 x 100 matrix to form a vector with 100,000 elements.

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(To:FF)

Here's a couple of ways. I normally use the general purpose function vec (defined in the attached worksheet) that will convert even a nested array into a vector.

Stuart

View solution in original post

2 REPLIES 2
StuartBruff
23-Emerald III
(To:FF)

Here's a couple of ways. I normally use the general purpose function vec (defined in the attached worksheet) that will convert even a nested array into a vector.

Stuart

FF
2-Explorer
2-Explorer
(To:FF)

Fantastic! Thanks again, Stuart.

Announcements

Top Tags