I have fittet a surface sf_4 onto a cloud of points using sfit. I would like to know how I could solve for a value on this surface. Usually in sfit [x,y] values are mapped to a z value. How can a solve the sfit function sf(x,0) = z_g (given value) for x ? I tried extracting the function or using syms variables but I do not get any result.
syms x ysf_4(x,y);solve(0.5 == sf_4(x,0),'x')
Error message
Warning: Do not specify equations and variables as character strings. Instead, create symbolic variables with syms. > In solve>getEqns (line 445) In solve (line 225) ans =Empty sym: 0-by-1
Best Answer