Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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
Solved! Go to Solution.
The vectorization needs to be outside the solve block
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
simplified:
the problem is that nothing is calculated because the last row cannot be calculated.
So i want to write a certain number instead
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
i dont really understand how you came to that equation
A little basic algebra:
ok thx for the information. But i still dont know how to evaluate DP.
Im figuring out how to tell mathcad that i want an on error function for every row
and for the row which no value can be calculated i want to assign a certain value as in my mathcad which i attached
thx you helped me alot
lg
Stefan
Fred,
Your final equation still has DP on both sides.
Thanks! You're right; I got lost in the maze between lower and upper case P's . . .