Skip to main content
8-Gravel
January 10, 2023
Solved

Matrix values as inputs on formula

  • January 10, 2023
  • 1 reply
  • 1965 views

Hello everyone, 

 

I want to K matrix elements as inputs on my curve formula so I can get output of my K values. MathCAD says that "this value must be real.", when I write K as an x variable's value. Can you help me about this topic?

 

Capture.PNG

Best answer by terryhendicott

Hi

Function curve has last parameter as a scalar.  It is not set up for x to be a vector.

It is thus necessary to vectorize the call to curve so it is given one scalar at a time

Capture.JPG

1 reply

24-Ruby IV
January 10, 2023

We need all Mathcad sheet.

8-Gravel
January 10, 2023

Thank you for your respond. Curve function need to real values as an input, but at K matrix I have real values. So I think I can be able to use these values but doesn't allow me to use values. I want to results of K values in curve function.

21-Topaz II
January 10, 2023

Hi

Function curve has last parameter as a scalar.  It is not set up for x to be a vector.

It is thus necessary to vectorize the call to curve so it is given one scalar at a time

Capture.JPG