cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

matrix I would like to have differences betweene two lenghts.

AZ_7383307
2-Explorer

matrix I would like to have differences betweene two lenghts.

Hi

 

I would like to subtract the values in the column by subtracting 2 from 1, 3 from 2, etc. and have results in a new column. Basacly i would like to have differences betweene two lenghts.

leghts.JPG

ACCEPTED SOLUTION

Accepted Solutions

4 REPLIES 4

Hi,

Capture.JPG

StuartBruff
23-Emerald III
(To:AZ_7383307)


@AZ_7383307 wrote:

Hi

 

I would like to subtract the values in the column by subtracting 2 from 1, 3 from 2, etc. and have results in a new column. Basacly i would like to have differences betweene two lenghts.

leghts.JPG


 

Here's a functional version that should work in Mathcad Express

 

Using ORIGIN = 0 makes life easier:

 

2022 06 01 a.png

 

But if you have a different ORIGIN, ...

 

2022 06 01 b.png

 

A programmed version would be more compact (and easier to read!), but I don't have a full Mathcad Prime at the moment.

 

Stuart

 

Mathcad Prime 8 version attached.

Werner_E
25-Diamond I
(To:AZ_7383307)

Here are my 2 cents

Werner_E_0-1654090764750.png

 

Its more versatile to use a utility function, especially when you intend to treat more than vector that way

Werner_E_1-1654090802828.png

 

 

Wow,... Thanks guys for your guidance,

Announcements

Top Tags