Data Set:
x y
0 3
1 5
2 7
3 9
4 11
5 13
6 15
7 17
8 19
9 21
10 23
The best-fitted line is given by Y = aX + b
where regression coefficients:
n refers to the number of data points in the given data sets.
#include <windows.h> #include <cmath> #include <iostream> LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,...
No comments:
Post a Comment