I think I know why.
fit_v2 is a 'struct' variable type:
f =
struct with fields:
type: 'polynomial degree 10'
coeff: [0.0012 4.2344e-04 -0.0101 -0.0033 0.0303 0.0097 -0.0373 -0.0126 0.#### 0.#### #.####]
how can I conveniently convert fit_v2 to get f in function form and ready to be differentiated?