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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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

1 ACCEPTED SOLUTION

Accepted Solutions

Here is the flattening part, too, unnesting the matrices

View solution in original post

3 REPLIES 3

See if the attached would help

Here is the flattening part, too, unnesting the matrices

thiirane
4-Participant
(To:Werner_E)

Ahhh... Yes... Thanks.

Russell

Top Tags