Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
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.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
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. Listen and type the numbers you hear
 
DHIKRA  
View profile  
 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
could you please help me
[code]
clear;
clc;
I=imread('C:\Documents and Settings\Administrateur\Bureau\TT.bmp');

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]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dpb  
View profile  
 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
> could you please help me [code]
> clear;
> clc;
> I=imread('C:\Documents and Settings\Administrateur\Bureau\TT.bmp');

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)...

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DHIKRA  
View profile  
 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DHIKRA  
View profile  
 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »