N_4: Definition of the unit cubic B-spline (centered at x_0, width...

Description Usage Arguments Value Examples

Description

Definition of the unit cubic B-spline (centered at x_0, width sigma, amplitude A)

Usage

1
N_4(x, x_0, A, sigma)

Arguments

x

a numeric vector where to evaluate the unit cubic spline

Value

evaluation of the unit cubic spline at values in x

Examples

1
2
3
4
x <- seq(-5,5,by = 0.1)
plot(x,N_4_original(x),ylim = c(0,1))
lines(x,N_4_unit(x),col='red')
lines(x,N_4(x,x_0 = 1,A = 0.4,sigma = 2),col='green')

kcucchi/myUtils documentation built on May 28, 2019, 9:50 a.m.