Get error for fit function (surface) in matlab2021
3 views (last 30 days)
I have some data I want to use my code but in matlab2021 it does not work. any idea? It could read data but fit does not wok.
x = K.(1) ;
y = K.(2) ;
z = K.(3);
f = fit([x y],z,"poly23");
Check for incorrect argument data type or missing argument in call to function 'fit'.