cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

6-Contributor

## Retrieving values from Matrix to function in Solve Block?

I'm fairly new to mathcad and I am hoping this is a simple answer. Is it possible to use values from a matrix to use in a function inside a solve block? I attached the file. Sorry for the mess, just wanting to practice and learn. I'm trying to call the values for Ta in the matrix to the function.

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:ML_9447606)

The first step is to turn the vector T.a into a continuos function. I used simple linear interpolation and called the function Ta.

This function is now used in the solve block and thats it. I just changed the resolution of the range variable "time" which you used for plotting and changed the sacling of the plot to be able to show the values of T.a as well.

P6 sheet attached

2 REPLIES 2
24-Ruby V
(To:ML_9447606)

The first step is to turn the vector T.a into a continuos function. I used simple linear interpolation and called the function Ta.

This function is now used in the solve block and thats it. I just changed the resolution of the range variable "time" which you used for plotting and changed the sacling of the plot to be able to show the values of T.a as well.

P6 sheet attached

6-Contributor
(To:Werner_E)

Thank you Werner_E! Now I can work the actual equations and see if I can get both temps to graph from the solve block. Tremendous help!

Announcements
Top Tags