how to make a trend line cross (0,0)?
Show older comments
hello, I've made a trend line using polyfit and polyval. Now i need to make that linear regression cross (0,0). thanks
3 Comments
Sean de Wolski
on 22 Feb 2012
ahh a constraint!
Dr. Seis
on 22 Feb 2012
Oh... I was thinking they had the coefficients from "polyfit" and all they needed to do was change the last coefficient to 0. I was wondering how that could be useful... =/
Sean de Wolski
on 22 Feb 2012
@Elige, ahh you could be right. Sigh, that takes all the fun out of it.
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!