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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

variable undefined

dmaynard
12-Amethyst

variable undefined

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

ACCEPTED SOLUTION

Accepted Solutions
MJG
18-Opal
18-Opal
(To:dmaynard)

Three issues that I found:

  1. 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).
  2. You used the Matrix Row operator, but should use the Matrix/Vector Index to call out the constants obtained from expfit.
  3. You omitted the third constant from expfit.

Capture.PNG

View solution in original post

3 REPLIES 3

May be so

Use please  x[1 not x<1>

kk.png

MJG
18-Opal
18-Opal
(To:dmaynard)

Three issues that I found:

  1. 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).
  2. You used the Matrix Row operator, but should use the Matrix/Vector Index to call out the constants obtained from expfit.
  3. You omitted the third constant from expfit.

Capture.PNG

dmaynard
12-Amethyst
(To:MJG)

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

Announcements

Top Tags