ImageAnalyst <email@example.com> wrote in message <firstname.lastname@example.org>... > Well, intercept is not a function in the Symbolic Math Toolbox (http:// > www.mathworks.com/help/toolbox/symbolic/bqs6eui.html#I) > Where did you get that code? Is a custom-written function? Can you > use polyfit and polyval instead?
Its a custom written function. I had just wanted to find the intercept between the two equations and have the while function iterate until a solution is found.