Skip to main content
1-Visitor
October 17, 2017
Solved

Calling "on error" vectorised

  • October 17, 2017
  • 2 replies
  • 4167 views

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

Best answer by RichardJ

The vectorization needs to be outside the solve block

2 replies

1-Visitor
October 17, 2017

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

24-Ruby IV
October 17, 2017

NOK.png

23-Emerald I
October 17, 2017

I'm not sure you need a solve block:

1-Visitor
October 17, 2017

simplified:

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

So i want to write a certain number instead

1-Visitor
October 17, 2017

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