필터 지우기
필터 지우기

Linear fit in a jumping window

조회 수: 3 (최근 30일)
Plastic Soul
Plastic Soul 2014년 11월 12일
편집: Plastic Soul 2014년 11월 13일
Hi everyone,
What I need to do is a linear fit of a certain part of my dataset. It would work like a window, fitting a certain part of the signal, and then jumps to the next part to fit it, and so on. So I did a loop of polyfit (first order). Does anyone have any suggestions on a simple example?
When I try my code using polyfit (first order) to get coefficients, for each window jump, I get this error (but it works even with this error):
In polyfit at 75
Warning: Polynomial is badly conditioned. Add points with distinct X values,
reduce the degree of the polynomial, or try centering and scaling as described
in HELP POLYFIT.
What do you think this error is trying to tell me?
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by