| Library: | kernel |
| Macro: | symweigh | |
| Description: | symweigh computes the symmetrical weights |
| Usage: | y = symweigh (x, h, n, f) | |
| Input: | ||
| x | n x 1 vector | |
| h | n x 1 vector or number | |
| n | n x 1 vector or number | |
| f | 1 x 1 address of function | |
| Output: | ||
| y | k x 1 matrix | |
library("kernel")
x=(0.1)*(1:4)
h=x
n=10*x+1
y = symweigh(x, h, n, "qua")
y
Contents of y
| Library: | kernel |