Turn on suggestions

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

Showing results for

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

Showing results for

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

Jun 06, 2020
11:29 AM

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

Jun 06, 2020
11:29 AM

Pivotisation of a matrix - I try to change an existing file that works with another scheme

Pivotisation of a matrix - I try to change an existing file that works with another scheme

Hello,

I have a Mathcad file that do the pivotisation of a matrix but I dont like it because is too indirect and obscure.

I want to implement another scheme that is more explicit and easily understanding but does not works by now. I attached my working file that also contains the scheme that i try to implement.

4 REPLIES 4

Jun 06, 2020
01:37 PM

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

Jun 06, 2020
01:37 PM

In your Piv(Aug) function, you let i run through all rows (from 1 to n), then you start k at i+1. That is bound to fail when i=n, because then k=n+1, which is out of range.

Potential remedy: in the first FOR statement, change:

"for i e 1..n" => "for i e 1..n-1"

Success!

Luc

Jun 06, 2020
01:42 PM

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

Jun 06, 2020
09:09 PM

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

Jun 06, 2020
09:29 PM

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

Jun 06, 2020
09:29 PM

Thank you,

It is also useful that function, but I am interested on Mathcad programming technics so that to use minimally the direct prefabricated functions.