| MATLAB Central > MATLAB Newsreader > Polyfit |
|
|
|
How to force y intercept to be zero using function PolyFit |
|
Check this post |
|
"Daniel Sutoyo" <dsutoyo@gmail.com> wrote in message <fgbu6e$bve |
|
|
|
"Phil Wallhead" <pjw5@noc.soton.ac.uk> wrote in message |
|
"Phil Wallhead" <pjw5@noc.soton.ac.uk> wrote in message |
|
|
|
A late comer to this party apologizes if the following question is trivial, but.... |
|
"Tom" <tomdoe.nospam@mathworks.com> wrote in message <higus7$19a$1@fred.mathworks.com>... |
|
On Jan 11, 11:47 pm, "Tom" <tomdoe.nos...@mathworks.com> wrote: |
|
Greg Heath <heath@alumni.brown.edu> wrote in message <ad61b94c-4d06-499f-be65-62ee11351cdc@m3g2000yqf.googlegroups.com>... |
|
I apologize for the confusion; thank you for the clear reply, Matt J. |
|
I have always admired John D'Errico's extremely elegant and erudite solutions. This case is no different. The use of the backslash operator to solve what is essentially a linear least-squares fit problem can be generalized to find the coefficients of nearly any linear combination of terms. |
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.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| polyfit | Mark Mikofski | 29 Jun, 2011 19:19:14 |
| yintercept | Mark Mikofski | 29 Jun, 2011 19:19:14 |
| backslash | Mark Mikofski | 29 Jun, 2011 19:19:14 |
| mldivide | Mark Mikofski | 29 Jun, 2011 19:19:14 |
| linear algebra | Mark Mikofski | 29 Jun, 2011 19:19:14 |
| leastsquares fit | Mark Mikofski | 29 Jun, 2011 19:19:14 |
Contact us at files@mathworks.com
