Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Retrieving values from Matrix to function in Solve...

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-24-2020
11:19 PM

09-24-2020
11:19 PM

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.

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-25-2020
06:04 AM

09-25-2020
06:04 AM

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

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-25-2020
06:04 AM

09-25-2020
06:04 AM

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

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-27-2020
04:52 PM

09-27-2020
04:52 PM

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!