The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Polynomial fitting
 There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic. There was an error processing your request. Please try again. Standard view   View as tree
 4 messages

From:
To:
Cc:
Followup To:
Subject:
 Validation: For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon.

More options Nov 2 2012, 8:23 am
Newsgroups: comp.soft-sys.matlab
From: "DHIKRA " <hamdi.dhik...@gmail.fr>
Date: Fri, 2 Nov 2012 12:23:07 +0000 (UTC)
Local: Fri, Nov 2 2012 8:23 am
Subject: Polynomial fitting
hello,
i have a problem with this code ,I'am looking for the équation of the polynomial that fits the curve on this image
I tried the fitting by figure window-tools-basic fiting  but I didn't have any convincing result
[code]
clear;
clc;

I=I(:,:,1)>160;
imshow(I)
I=bwmorph(~I,'thin','inf');
imshow(~I)
I = imresize(I, [199 199]);
imtool(I);

[N,N]=size(I);
iptsetpref('ImshowAxesVisible','on')
figure; imshow(I,[],'Xdata',[0:N-1],'Ydata',[0:N-1],'InitialMagnification','fit')
xlabel('x')
ylabel('y')
title('initial image');
colormap(gray), colorbar;
x=zeros(1,199*199);
inc=1;
y=x;
figure;
for l=1:199

for c=1:199

if (I(l,c)==1)
x(1,inc)=l;
y(1,inc)= c;
inc=inc+1;

end
end
end
imtool(x);
imtool(y);
hold on
plot(x,y,'.');
[/code]

To post a message you must first join this group.
You do not have the permission required to post.
More options Nov 2 2012, 10:08 am
Newsgroups: comp.soft-sys.matlab
From: dpb <n...@non.net>
Date: Fri, 02 Nov 2012 09:08:48 -0500
Local: Fri, Nov 2 2012 10:08 am
Subject: Re: Polynomial fitting
On 11/2/2012 7:23 AM, DHIKRA wrote:

> hello,
> i have a problem with this code ,I'am looking for the équation of the
> polynomial that fits the curve on this image I tried the fitting by
> figure window-tools-basic fiting but I didn't have any convincing result
> clear;
> clc;

Well, having no way to access your machine makes it a little hard to see
the figure... :)

...

But, in general, sometimes polynomials aren't much use in fitting if the
data isn't such that it is easily represented by such (at least not w/o
overfitting)...

--

To post a message you must first join this group.
You do not have the permission required to post.
More options Nov 3 2012, 6:38 am
Newsgroups: comp.soft-sys.matlab
From: "DHIKRA " <hamdi.dhik...@gmail.fr>
Date: Sat, 3 Nov 2012 10:38:08 +0000 (UTC)
Local: Sat, Nov 3 2012 6:38 am
Subject: Re: Polynomial fitting

To post a message you must first join this group.
You do not have the permission required to post.
More options Nov 3 2012, 6:41 am
Newsgroups: comp.soft-sys.matlab
From: "DHIKRA " <hamdi.dhik...@gmail.fr>
Date: Sat, 3 Nov 2012 10:41:08 +0000 (UTC)
Local: Sat, Nov 3 2012 6:41 am
Subject: Re: Polynomial fitting