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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Convert a regressive function to a matrix

gatlas
10-Marble

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

 

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
25-Diamond I
(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?

gatlas
10-Marble
(To:Werner_E)

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
25-Diamond I
(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 😉

gatlas
10-Marble
(To:Werner_E)

Thanks!

Announcements

Top Tags