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
- :
- Matrix In Mathca Prime

Options

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

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

Showing results for

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

03-27-2018
12:40 AM

03-27-2018
12:40 AM

Dear everyone,

Please solve this in Attachment Picture

Step1

How to Auto-create Matrix with nxn ?

Step2

Put Matrix provide in Step 1 by Column and Rows User Instruct.

Many thank

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

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

03-27-2018
05:03 AM

03-27-2018
05:03 AM

Here's a function that does what you want in one go. It creates the empty matrix (rows and columns as provided by the first parameter Size), and puts each of the elements of the provided matrix (second parameter Data) on the respective column and row node positions (as specified by the third and fourth parameters Cnodes and Rnodes respectively).

You'll have to type the function in Prime yourself, since I'm limited to Prime express.

But I can view your Prime sheets, so if you need more help, just come back here.

Success!

Luc

13 REPLIES 13

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

03-27-2018
01:12 AM

03-27-2018
01:12 AM

Re: Matrix In Mathca Prime

One way

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

03-27-2018
01:53 AM

03-27-2018
01:53 AM

Re: Matrix In Mathca Prime

Hi,

autoCreating an nxn matrix.

Just set the last element to zero.

Watch the value of ORIGIN which will change the outcome.

File enclosed to demonstrate this.

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

03-27-2018
04:38 AM

03-27-2018
04:38 AM

Re: Matrix In Mathca Prime

Hi,

Here is how to do the insertion you asked for.

File enclosed

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

03-27-2018
05:03 AM

03-27-2018
05:03 AM

Here's a function that does what you want in one go. It creates the empty matrix (rows and columns as provided by the first parameter Size), and puts each of the elements of the provided matrix (second parameter Data) on the respective column and row node positions (as specified by the third and fourth parameters Cnodes and Rnodes respectively).

You'll have to type the function in Prime yourself, since I'm limited to Prime express.

But I can view your Prime sheets, so if you need more help, just come back here.

Success!

Luc

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

03-27-2018
05:10 AM

03-27-2018
05:10 AM

Re: Matrix In Mathca Prime

Ok 👍

It seems work, I will try in Prime

It seems work, I will try in Prime

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

03-27-2018
05:46 AM

03-27-2018
05:46 AM

Re: Matrix In Mathca Prime

@LucMeekes wrote:

Here's a function that does what you want in one go. It creates the empty matrix (rows and columns as provided by the first parameter Size), and puts each of the elements of the provided matrix (second parameter Data) on the respective column and row node positions (as specified by the third and fourth parameters Cnodes and Rnodes respectively).

You'll have to type the function in Prime yourself, since I'm limited to Prime express.

But I can view your Prime sheets, so if you need more help, just come back here.

Success!

Luc

After I did your Formula in Prime, show as below+Attachment

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

03-27-2018
05:56 AM

03-27-2018
05:56 AM

Re: Matrix In Mathca Prime

Stupid error message of Prime, you're not using units here !

I guess the error is due to the autolabelling feature of Prime, Sometimes a blessing, Now it isn't.

Check your labels. ORIGIN should always be the same ORIGIN, the bold upright one, which is labelled as a 'system' type. So the Italic *ORIGIN'*s need their labels changed.

Success!

Luc

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

03-27-2018
06:01 AM

03-27-2018
06:01 AM

Re: Matrix In Mathca Prime

hahaha......

Wrong 'c', The origin is Correct!

Cheer! Success

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

03-27-2018
06:03 AM

03-27-2018
06:03 AM

Re: Matrix In Mathca Prime

So now it works?

Top Tags