Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Programmatically Creating a Nested Array

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-11-2013
06:59 PM

05-11-2013
06:59 PM

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.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-11-2013
08:48 PM

05-11-2013
08:48 PM

Here is the flattening part, too, unnesting the matrices

3 REPLIES 3

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-11-2013
08:20 PM

05-11-2013
08:20 PM

Re: Programmatically Creating a Nested Array

See if the attached would help

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-11-2013
08:48 PM

05-11-2013
08:48 PM

Here is the flattening part, too, unnesting the matrices

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-11-2013
08:56 PM

05-11-2013
08:56 PM

Re: Programmatically Creating a Nested Array

Ahhh... Yes... Thanks.

Russell