Skip to main content
1-Visitor
January 11, 2013
Solved

Define discrete function

  • January 11, 2013
  • 3 replies
  • 5515 views

Dear MathCAD-Experts,

I've a for sure very simple question: How to define a discrete function? Please see the picture attached. I want to define the function c_W(phi_Wind) with discrete values. So for example c_W(30°) should be equal to 8.2 m/s.

Thank you very much for your help,

Muh

Best answer by RichardJ

I should have said "lookup", not "vlookup".

3 replies

24-Ruby IV
January 11, 2013

Attach please the Mathcad Prime file!

See cspline and others some functions.

1-Visitor
January 11, 2013

Please see attached

19-Tanzanite
January 11, 2013

When you lookup the angle, what are you expecting as a return value?

19-Tanzanite
January 11, 2013

See the vlookup function in the help.

1-Visitor
January 11, 2013

With vlookup I can only search things in a vektor but I want to define a solution vector of a function!?

RichardJ19-TanzaniteAnswer
19-Tanzanite
January 11, 2013

I should have said "lookup", not "vlookup".

15-Moonstone
January 11, 2013

I would recommend writing a program with statement to select the correct values for each angle. You even add in a feature if 25 degree use 30 degree values. Hope this helps

1-Visitor
January 11, 2013

I tried this in every imaginable way, but it seems that MathCAD does not allow that...