public class UserBasisRegressionEx1 extends Object
Fits a regression to a function without noise with user defined basis functions.
In this example, we fit the function y=1+sin(x)+7∗sin(3x) with no error introduced. The function is evaluated at 90 equally spaced points on the interval [0,6]. Four basis functions are used, sin(kx),k=1,...,4 with no intercept.Constructor and Description |
---|
UserBasisRegressionEx1() |
public static void main(String[] args)
Copyright © 2020 Rogue Wave Software. All rights reserved.