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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Retrieving values from Matrix to function in Solve Block?

ML_9447606
8-Gravel

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.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(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.

Werner_E_0-1601028204467.png

 

P6 sheet attached

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(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.

Werner_E_0-1601028204467.png

 

P6 sheet attached

 

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