Skip to main content
1-Visitor
August 17, 2018
Solved

Problem with columns and vectors

  • August 17, 2018
  • 2 replies
  • 1749 views

Hello
as in the Monte Carlo simulation in the help (step 7), the columns with the variable i are separated into vectors.
How can I just get the positive or negative values?

Example: From this column I only want the positive or negative values.

 

I use Mathcad Prime 4.0

column.JPG

 

Best answer by Fred_Kohlhepp

a short program:

Capture.PNG

2 replies

23-Emerald I
August 17, 2018

a short program:

Capture.PNG

s-soberh1-VisitorAuthor
1-Visitor
August 20, 2018

Thank you

25-Diamond I
August 17, 2018

You could also use a combination of "match" and "trim".

B.png