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
- :
- Summing Data depend on Index

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

02-11-2021
05:26 AM

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

02-11-2021
05:26 AM

Summing Data depend on Index

Dear all

Please help me do summing data depending on Index as attachment.

Thank you

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

02-11-2021
07:00 PM

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

02-11-2021
07:00 PM

Fred's contribution shows impressively that the use of Express strongly encourages creativity - chapeaux!

Here is a solution using programming (not working in Express)

Unfortunately user-written programs can't be written to accept a variable number of arguments. So I guess it would be better to rewrite the function to accept just one matrix and do the stacking outside of the function, maybe when calling it. That way its possible to deal with more than two matrices the very same way:

Prime 6 sheet attached

2 REPLIES 2

02-11-2021
01:03 PM

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

02-11-2021
07:00 PM

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

02-11-2021
07:00 PM

Fred's contribution shows impressively that the use of Express strongly encourages creativity - chapeaux!

Here is a solution using programming (not working in Express)

Unfortunately user-written programs can't be written to accept a variable number of arguments. So I guess it would be better to rewrite the function to accept just one matrix and do the stacking outside of the function, maybe when calling it. That way its possible to deal with more than two matrices the very same way:

Prime 6 sheet attached