필터 지우기
필터 지우기

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