Hi,
In my sim, I sweep code A and check output B, and use cross() function to find the code A so that B = B_target
Understandably, when there is no crossing, cross() returns nothing. My question is, if B vs code A is monotonic, is there a way to output max(code A) when max (B) < B_target and vice versa?
thanks,
Kevin
btw, it doesn't look like calculator accepts logic expressions. i.e, this one doesn't work output = (B<B_target)*max(code A) + cross()