I want to determine the point of intersection of two lines using Matlab. I have the two lines in the form of
y = tan(theta)*x + c.
I'm seeking an algorithm that does this and I already know how linear equations are solved manually to determine the point of intersection. I would like to know how its done using Matlab. And also, what must I do if I have to determine the point of intersection for more than two lines using Matlab?
Thanks