Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MVIEW if zero function

Status
Not open for further replies.

GregLocock

Automotive
Apr 10, 2001
23,764
thread1062-95340

I asked how to divide one curve by another, when the denominator occasionally goes to zero.

It's dead easy

p1w1c1.y/((p1w1c2.y==0)+p1w1c2.y)



Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor