Skip to main content
8-Gravel
Jan 10, 2023 7:24 AM UTC
Solved

Matrix values as inputs on formula

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

terryhendicott
21-Topaz II
Jan 10, 2023 9:50 AM UTC

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

4 replies

24-Ruby IV
Jan 10, 2023 8:14 AM UTC

We need all Mathcad sheet.

Translate
8-Gravel
Jan 10, 2023 8:50 AM UTC

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.

Translate
terryhendicott
21-Topaz II
Jan 10, 2023 9:50 AM UTC

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

Translate