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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Function Dependent on Previous Function

kyh11
1-Newbie

Function Dependent on Previous Function

Hi all,

 

I am trying to generate a plot of a function P(y), where the variable y is itself a previously defined function, y(L).

I have defined L:=200,201..400 and the two functions, y(L) and P(y) but when I attempt to plot P(y), I get an error about the value not being a scalar or a vector.

 

Is there a trick to working with functions dependent upon other functions?

 

Thanks

 

2 REPLIES 2

Hi

Please attach your worksheet to clarify your problem.

You may have to zip it first. A serious bug in this forum often prevents from attaching a mathcad file. In Windows Explorer click with the right-mouse button on the mathcad file and select 'Send to' -> 'Compressed (zipped) folder'. The resulting .zip file can be attached.

 

You have defined L as a range variable not a scalar or matrix.  Send the file and we can tell what is going on.

Werner_E
24-Ruby V
(To:kyh11)

Probably you should use P(y(L)), not just P(y)

Top Tags