How to find relationship between two variables ?

18 Ansichten (letzte 30 Tage)
Koustubh Shirke
Koustubh Shirke am 6 Mär. 2020
Kommentiert: Star Strider am 6 Mär. 2020
Suppuse I have two variables/vectors X and Y, how can I find which relationship both have each other like linear/non-linear quadratic/polynomial etc ?
In addition to that, once I get the relation, how can I find the equation whoch fits in two variables X and Y ?

Antworten (1)

Star Strider
Star Strider am 6 Mär. 2020
First, plot them. That will give you a good idea of how they are related.
Second, is there a known process that produced output ‘y’ from input ‘x’, or in some way relates them? If so, create a mathematical model of that process and estimate its parameters using the data.
  3 Kommentare
Guillaume
Guillaume am 6 Mär. 2020
Even if you can't visualise the data,as Star says it's always better to have a model, however imperfect, of the system you want to identify.
Saying that, you're probably looking for the System Identification Toolbox. I don't have it and have never used it, so can't tell you how to use it.
Star Strider
Star Strider am 6 Mär. 2020
I have it and I have some experience with it, so if your data are signals and you want to identify a system that created it (the input signal is also required), please post the input and output sampled at the same time instants. The time vectors need to be part of each file as well.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by