i have two matrix datas,how can i check is there any relation between these two datas, if there is a relation i want to get which type relation is this(linear, quadratic,cubic...etc)

2 次查看(过去 30 天)
i have two data sets,i want to find out their relationship, can i get the relation as an equation..?

回答(1 个)

Dishant Arora
Dishant Arora 2014-3-20
x = (0: 0.1: 2.5)';
y = erf(x);
plot(x,y);
Goto tools>>Basic fitting, and see which function best fits your data.
Or alternatively you can use polyfit

类别

Help CenterFile Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by