Skip to main content
1-Visitor
Solved

Calling "on error" vectorised

Hallo,

 

attached a mathcad file with my question.

I need to call the function "on error" vectorised. So that i have a result of all the calculations

I tryed it but the result is not correct.

Can anyone help me with this problem?

 

As you can see the result is red because for the last value no calculation is possible.

Therefor a fixed value should be calculated for the result. Or an "on error" function

 

Thx Stefan

RichardJAnswer
19-Tanzanite

The vectorization needs to be outside the solve block

13 replies

1-Visitor

this si with the on error function but i dont know how to do it on the right way.

 

The Result should only be NOK for the last row and OK for all the other rows.

But now its NOK for all rows.

 

Thx,

Stefan

Translate
24-Ruby IV

NOK.png

Translate
23-Emerald I

I'm not sure you need a solve block:

Translate
1-Visitor

simplified:

the problem is that nothing is calculated because the last row cannot be calculated.

So i want to write a certain number instead

Translate
1-Visitor

or in other words:

 

i want a OKNOK vector on which the last row is NOK (no calc. possible) and OK for all other rows

Translate