Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Linear Interpolation Using MathCAD 1

Status
Not open for further replies.

judeotuks

Structural
Joined
Jan 14, 2013
Messages
18
Location
GB
I need help writing the statement below on mathCAD

C1= 0.2 when beta is less than or equal to 0.9
C1= -0.2 when beta is equal to 1.0

linearly interpolating values between b=0.9 and b=1.0

( please refer to the attached for further clarification)

Thanks
 
Many ways to tackle this problem, here's one.

getfile.aspx
 
Do you want to clip them or scale everything, i.e., normalize? In any case, you can do something like Q.f[i,j := if(Q.f[i,j]<=1 , Q.f[i,j , 1),
where i,j are predefined indexes , or scale to the max value or whatever

In the future, please post a live worksheet, rather than a picture. While it didn't make any difference this time, there may be other occasions where the live sheet would be infinitely more useful.

TTFN
faq731-376
7ofakss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top