polyfit semilogy
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I'm trying to find the fractal dimension of a range of data, but I'm sruggling looking for a way of finding the best range of data in a bigget set of data, which will fit the best regression line in semilog.
do i have to try every possibilitie,
A=polyfit(X(1:1000),log10(Y(1:1000),1);
A=polyfit(X(2:1000),log10(Y(2:1000),1);
...
A=polyfit(X(i:j),log10(Y(i:j)),1);
and so on.. or is there easiest way?
Thank you for your help
n.
답변 (2개)
bym
2011년 4월 21일
do you mean stepwise regression?
doc stepwise() % assuming you have statistics toolbox
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!