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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Programmatically Creating a Nested Array

thiirane
4-Participant

Programmatically Creating a Nested Array

Hi MathCad Experts,

Step 1 I have a 3x3 matrix t[1] with 1's and 0's . I want to insert another 3x3 matrix "One" into U if the element of t[1] is 1 other insert 3x3 matrix zero as a Nested Array.

Step 2 Convert to a Matrix.

I have not done this previously so I would like your suggests/help.

Thanks.

Capture.JPG

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:thiirane)

Here is the flattening part, too, unnesting the matrices

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:thiirane)

See if the attached would help

Werner_E
25-Diamond I
(To:thiirane)

Here is the flattening part, too, unnesting the matrices

thiirane
4-Participant
(To:Werner_E)

Ahhh... Yes... Thanks.

Russell

Announcements

Top Tags