Skip to main content

3 replies

Werner_E
25-Diamond I
Oct 27, 2025 5:24 PM UTC

@RB_14365337 wrote:

I have a matrix and would like to obtain the product of rowi+1/rowi


Product? Rather quotient or ratio, right?

As your vector omega consists of 50 elements, the vector of quotients obviously can only consist of 49 elements.

So the job could be done that way:

Werner_E_0-1761585639638.png

or even better using

Werner_E_1-1761585672256.png

 

If you need that kind of calculation more often it might be beneficial to define a function:

Werner_E_2-1761585834781.png

 

 

 

 

Translate
23-Emerald V
Oct 27, 2025 6:45 PM UTC

Or for the Express users amongst us (and it will work in Prime), use Mathcad's submatrix function:

 

2025 10 27 A.png

 

Stuart

Translate
Community Moderator
Nov 12, 2025 4:32 AM UTC

Hi @RB_14365337,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 

Translate