Edit or run this notebook

Illustration of linear least-squares polynomial fitting

2017-09-27 Jeff Fessler, University of Michigan

2020-08-05 Julia 1.5.0

2021-08-23 Julia 1.6.2

2021-09-14 Pluto

14.5 Î¼s
2.8 s
99.0 ns
26.9 ms
28.7 ms
Afun
#11 (generic function with 1 method)
5.1 Î¼s
25×4 Matrix{Float64}:
 1.0  0.00790928  6.25568e-5   4.94779e-7
 1.0  0.0203749   0.000415135  8.45833e-6
 1.0  0.0769509   0.00592144   0.00045566
 1.0  0.209472    0.0438787    0.00919137
 1.0  0.210968    0.0445076    0.00938968
 1.0  0.236033    0.0557117    0.0131498
 1.0  0.251379    0.0631915    0.015885
 â‹®                             
 1.0  0.773223    0.597874     0.46229
 1.0  0.859512    0.738761     0.634974
 1.0  0.873544    0.763079     0.666583
 1.0  0.951916    0.906145     0.862574
 1.0  0.986666    0.973511     0.96053
 1.0  0.999905    0.999809     0.999714
1.9 Î¼s
28.9 Î¼s
428 Î¼s
xh
19.8 Î¼s
362 Î¼s
41.0 ns
4.4 ms
4×2 Matrix{Float64}:
 -1.01139   -1.01139
 -0.996159  -0.996159
  8.52431    8.52431
 -5.39276   -5.39276
245 ms
4×2 Matrix{Float64}:
 -8.88178e-16   2.22045e-16
  4.44089e-15   6.66134e-16
 -1.42109e-14  -1.77636e-15
  1.15463e-14   1.77636e-15
2.6 Î¼s
Loading...
ii
Loading...