Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
intersection point calculation between the two regression lines

Subject: intersection point calculation between the two regression lines

From: ozlem

Date: 29 Oct, 2010 12:40:04

Message: 1 of 2

how can I find a solution about intersection point calculation between the two regression lines in matlab?

Subject: intersection point calculation between the two regression lines

From: Sean

Date: 29 Oct, 2010 12:51:04

Message: 2 of 2

"ozlem" <ozlemgezmis@hotmail.com> wrote in message <iaefb4$cu$1@fred.mathworks.com>...
> how can I find a solution about intersection point calculation between the two regression lines in matlab?

Couldn't you just use FZERO with the objective function of (RegLine1 - RegLine2)?

There are definitely better ways to do this, but this seems straight forward.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us