I have three points that I am using to find the normal and then I have another point that I was using symbolically. After the code below, I need to be able to substitute in values for x and y in order to get z. I need help figuring out how to substitute for symbolic variables or what other function to use in order to be able to substitute but still keep the original expression.
start = [-13627.6 4904.1 1563.141];middle = [-13630.9 4677.7 1562.681];finish = [-13550.5 4593 1563.031];>> normal = cross(start-middle, start-finish);syms x y zp = [x y z];planefunction = dot(normal, p - start)Z = solve(planefunction,z);
Best Answer