フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Perform a Linear Regression Analysis on a data set

2 ビュー (過去 30 日間)
Jared Martin
Jared Martin 2015 年 4 月 21 日
閉鎖済み: John D'Errico 2015 年 4 月 21 日
Write a program that will perform a linear regression analysis on a data set provided by the instructor. The data set will consist of two columns of data separated by spaces in a text file. The two columns of data are the x and y data values recorded from a process that can be modeled by a simple f (x) = m x + b equation. The idea behind linear regression is to process the the given x and y data in a way that allows you to fit the slope and y-intercept parameters in the modeled equation. The equations that perform this analysis are given below in Equation 1 and 2.
In the above equations, Xk and Yk are the data points from the file. Where X0 and Y0 are the first (x,y) data set from the file, X1 and Y1 are the second values in the file and so on until all N values where XN
  1 件のコメント
John D'Errico
John D'Errico 2015 年 4 月 21 日
Ok. So start writing. This is your homework, not ours. They gave you the formulas. If we do it for you, all you learn is how to con someone into doing your work. Where is the gain in that?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by