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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Convert a regressive function to a matrix

gatlas
8-Gravel

Convert a regressive function to a matrix

I have a regressive function Y[k and i need to express it as a matrix. Ultimately, I need to smooth it and make it a continuous function using either linear interpolation or splines.

 

Note that the regressive function is expressed using subscripts, y[k.

 

I'm using Mathcad Prime

 

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:gatlas)

Like this:

LucMeekes_0-1679752483459.png

Success!
Luc

 

View solution in original post

7 REPLIES 7
Werner_E
24-Ruby V
(To:gatlas)


Note that the regressive function is expressed using subscripts, y[k.

 


Then its not a function but rather a vector of values!?

Its not clear to me what you are looking for.

How about posting a example worksheet?

Werner,

 

I'm trying to convert a regressive function y[k to a smoothe function that can be readily differentiated.

 

Please see the attachment.

 

Thanks,

Glen

LucMeekes
23-Emerald III
(To:gatlas)

Like this:

LucMeekes_0-1679752483459.png

Success!
Luc

 

This works! Thanks!

Hi perhaps answer can be found on these help locations:

Regression

Interpolation and Prediction Functions

Beyond this you may need to expand the question

Capture2.JPG

Capture.JPG

Werner_E
24-Ruby V
(To:gatlas)

Because your recursively defined series follows a linear recursion, we can always find the direct general formula for computing the nth term as a function of n,
So there is no need for interpolation or approximation via a regression.

Werner_E_2-1679765588698.png

Don't let the imaginary unit confuse you, the returned function values are real 😉

Thanks!

Top Tags