Uniform linear splines is my equation correct?

  • Thread starter Thread starter SMA_01
  • Start date Start date
  • Tags Tags
    Linear Uniform
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 1K views
SMA_01
Messages
215
Reaction score
0
The question as stated: Define the uniform linear splines Hk:=H0(x−k), k=−1,0,1,2,3, where

H0={x, 0≤x<1,

2−x, 1≤x<2,

0, otherwise.

For k=−1, I would get:

H−1={x+1, 1≤x<2,

1−x, 2≤x<3,

0, otherwise.

Is that correct?

Thank you.
 
Last edited:
Physics news on Phys.org
LCKurtz-Wouldn't I just plug in k=-1, into H_0(x-(-1))=H_0(x+1)?
 
haruspex-

I accidently put x+1 for the first function in H0, it's supposed to be x.

Yes, I see what you mean. I thought I did that though:
H−1={x+1, 1≤x<2,

1−x, 2≤x<3,

0, otherwise.

I don't see what I'm doing wrong...
 
Oh okay, I see what you mean. I though I could evaluate it at the inequalities. Thanks!