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

Retrieving values from Matrix to function in Solve Block?

SOLVED
Highlighted
Participant

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
Highlighted

Re: Retrieving values from Matrix to function in Solve Block?

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
Highlighted

Re: Retrieving values from Matrix to function in Solve Block?

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

Highlighted

Re: Retrieving values from Matrix to function in Solve Block?

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