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
- :
- variable undefined

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-31-2017
01:14 PM

10-31-2017
01:14 PM

My expfit equation is not plotting. I am getting an "undefined variable" error. When I backtrace the error, my modified expfit equation tells me that "t_e" is undefined and to check label is set correctly. On the plot, the array dimensions do not match. Unsure how to correct these issues. Pages 7 and 8 are the problems. Using mathcad prime 3.1

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

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

10-31-2017
02:49 PM

10-31-2017
02:49 PM

Three issues that I found:

- You used exp^(z), where z = Ee2*te. This is a function raised to a power. You should use either exp(z) (function with input), or e^(z) (constaint raised to a power).
- You used the Matrix Row operator, but should use the Matrix/Vector Index to call out the constants obtained from expfit.
- You omitted the third constant from expfit.

3 REPLIES 3

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

10-31-2017
02:49 PM

10-31-2017
02:49 PM

Re: variable undefined

May be so

Use please x[1 not x<1>

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

10-31-2017
02:49 PM

10-31-2017
02:49 PM

Three issues that I found:

- You used exp^(z), where z = Ee2*te. This is a function raised to a power. You should use either exp(z) (function with input), or e^(z) (constaint raised to a power).
- You used the Matrix Row operator, but should use the Matrix/Vector Index to call out the constants obtained from expfit.
- You omitted the third constant from expfit.

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

10-31-2017
03:24 PM

10-31-2017
03:24 PM

Re: variable undefined

Thank you for your help. I am trying to teach myself on this program and run into pitfalls occassionally. I appreciate the quick response.

Top Tags