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

New to MATLAB?

Thread Subject:
Identifying linear vs curvilinear relationship

Subject: Identifying linear vs curvilinear relationship

From: Daniel Robbins

Date: 8 Mar, 2013 11:45:07

Message: 1 of 1


Can anyone advise on the best method to identify if the relationship between two varibales is linear or curvilinear? I am collecting data which includes both.

Potentially I could calculate both and then use an 'IF' function to detect the highest R^2 value, but this seems long winded. I am presuming there is a better approach to automate this process.

FYI, I dont have the curvefitting toolbox...

Any thoughts are greatly appreciated!

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