FSC-16 polynomial

Bonjour,
Pour mon projet de stage, j'ai besoin d'utiliser un calcul de polynomial sur une trame, pour tester si celle-ci est juste ou non.
Cependant je n'arrive jamais a trouver le bon resultat.
Le polynomial est x**0 + x**5 + x**12 + x**16 avec une valeur initial a FFFF est de type 0x8408.
Si quelqu'un sait utiliser ce type de calculde CRC il me sauverai la vie.
Merci d'avance,
Cordialement,
Rémi D.

Bonjour,
Lorsque je test avec ma trame 0202033B026C15A7620FD80B1D140068B8AC48F948F90020003989500004AC3080000000800000000000000080000000, je devrait avoir comme checksum AC89, cependant je n'obtient jamais ce resultat...
Je sait que le polynomial est x16 + x12 + x5 + 1 = 0x8408, que la valeur initial est FFFF
Sa fait deux jours que je suis desus je n'arrive pas à trouver, si quelqu'un pouvais m'aider sa serait génial!!
Merci d'avance,
Cordialement
Rémi D.

Similar Messages

  • Polynomial and Stringtokenizer

    I'm stuck on a homework problem involving a polynomial. The part I'm stuck on is where you're given a string in the form of a polynomial and you need to split it up into it's different terms.
    One constructor, Polynomial(String poly), is somewhat tricky. For this constructor you must extract the required information from the string passed as an argument. Stylistic issues are important in defining the valid parameters for this constructor.
        * ax^n+bx^(n-1)+c1x^(n-2)+...+d , the string is a valid polynomial.
        * No two terms have the same exponent.
        * No terms with coefficient 0 (2x^2+1 is valid input for 2x^2+0x^1+1).
        * Terms with coefficient of 1 omits the 1 (x^3+x^2 is valid).
        * The x^1 term omits the exponent 1 (2x^3+3x is valid).
        * The x^0 term, the constant term, omits everything but the coeficient (2x^3+3x+1 is valid).
        * There are no occurrences of contiguous plus and minus signs (+- and -+ not allowed).
        * The leading positive sign on the initial term is unnecessary: 5x^2+4x+2 is valid, not +5x^2+4x+2
        * There are no duplicate terms, i.e., there is at most one term for a given power.I think I know where to start, that's using a StringTokenizer. But from there I'm lost. Any help would be greatly appreciated.

    Ordinarily, I would advise against using StringTokenizer for parsing mathematical expressions, but your requirements are so simple that it should suffice.
    You have one or more terms separated by plus or minus signs--that's your delimiter. You have to keep the delimiter (instead of discarding it as StringTokenizer usually does) so you can apply the correct sign to the following term. And you have to handle an optional minus sign at the beginning of the expression (i.e., the first "term" might be the empty string, and should be ignored).
    Does that help?

  • After reinstalling MAC OS 10.6.8, config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with fsck, but after the steps to be taken, it says fscs not done, root device is read only

    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with Command+S and fsck, but after the steps to be taken, it says fscs not done, root device is read only. I also tried to bypass the Mac firmware password by taking one Ram card out and reboot the macmini while holding COMMAND+OPTION+P+R. But no luck. The macmini is not able to see the mac OSX installation CD.
    Please help ??

    f.fromleiden wrote:
    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot.
    How and where did you change which permissions? And what was the goal?
    Do you have a complete backup of your system? and more importantly data files?
    What happened that prompted the need to reinstall the 10.6.8 update?
    The immediate road forward would be to boot from the optical drive and revert the changes you made.
    What happens when you boot with the install cd and hold down C or hold down the option key?
    [Off topic: I've been to Leiden a few times ]

  • Is there any way of extending a polynomial trendline in Numbers '09?

    Hi,
    The question title says it all really.  Is there any way of extending a polynomial trendline in Numbers '09, beyond the data that I currently have?  I can do this in Excel, but would like to be able to do this in Numbers too.
    Thanks,
    Nick

    Unfortunately there is no "forecast" feature for trendlines in Numbers. Wayne showed how to use the trendline equation from the chart to create additional data points for the chart.  This is by far the simplest way to do it in Numbers but it has two drawbacks:
    If your data changes, you'll need to manually readjust the coefficients for your forecasted point(s).
    The precision of the coefficients is only three decimal places. The forecasted Y values using these coefficients might not be as accurate as you would like. For example, compare the forecasted Y value in Wayne's table at X=20 to the one in the table below.
    You can avoid both problems by calculating the trendline coefficients in your table using the LINEST function. it is a little more work in the setup but it might save you time in the long run if your data changes a lot. Here is an example of for 2nd order polynomial:
    The last "real" data point is in row 10.
    Formula for column D =A
    Formula for column E =A*A
    F2 = the coefficient for X^2 =INDEX(LINEST(B2:B10,D2:E10),1)
    G2 = the coefficient for X =INDEX(LINEST(B2:B10,D2:E10),2)
    H2 = the constant =INDEX(LINEST(B2:B10,D2:E10),3)
    Note: If you later need to add an additional data point at the end of your data, go to the last row of your data (in this example it is row 10) and "add row below".  This way the formulas for the coefficients will adjust automatically to include the new row.

  • Different general polynomial fit results

    Hello,
    I've encountered a strange problem using the general polynomial fit: It seems that the outcome of this vi is computer dependent...
    I'm using labview 8.2.1, and tried to use the vi to get a polynomial fit (with an order between 12 and 20) on about 450 datapoints, which seemed to work fine... until I shared my vi with another person, where different results for the polynomial coefficients were obtained with the same datapoints (and the same parameter settings). I noticed that the differences get bigger when the requested order increases.
     has anybody encountered a similar problem?
    greetings,
    Hans
    Attachments:
    get_polyline.vi ‏37 KB

    Well, taking a 20th order polynomial does not make a lot of sense anyway. What are you trying to achieve? There are probably better ways to do whatever you want to do here. You are dealing with extreme intermediary values (e.g. 1500^20=3.32e+63) so a slight reordering in operation could change the outcome.
    Can you explain the differences between the computers? Is the other a different OS (e.g. mac vs windows)? Just curious.
    LabVIEW Champion . Do more with less code and in less time .

  • Polynomial fitting for scatter plot

    Hi all, 
    I was wondering if there is any way to generate a polynomial fit to a scatter plot just like in excel. The data I am trying to fit has several y values for each x value. 
    Thanks
    Krish
    Solved!
    Go to Solution.

    Well, my "solution" above is a bit misleading, because the polynomial fit of course does NOT depend on the x ordering. If the x-values are scranbled as in your case, a maybe better solution would be to simply create a linear x-ramp over the data range and use polynomial evaluation to calculate a smooth best fit line. This has also the advantage tha a smooth curve is generated even if the data points are sometimes far apart.
    Here is one possible modification to show the technique.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Scatterplot_fitting_MODCA2.vi ‏13 KB

  • Calibration/compensation polynomial - where to apply

    Hi. I'm pretty new to LabView so please excuse my inexperience. I calibrated four thermocouples using a reference thermomister and created each a polynomial curve equation to compensate for the error/difference between the four thermocouples and the reference thermomister. How do I apply these polynomials to the program? Is there an article or example available? I tried searching but not getting a lot of luck.Maybe I'm using the wrong keywords?
    Thank you in advance.
    - Vivian

    typically I create an ini text file where all the calibration coefficients are stored.  In my program I read this ini file and place all the values in a cluster that gets passed around in the program to be used.  Another option would be to take the calibration cluster and put it into a global variable.  Now when you read a value from your thermocouple you pull the appropriate calibration values and calculate what the real value is.
    As an example:
    y = mx + b
    m -> slope calibration value
    b ->  offset calibration value
    You would have to do this calculation for every data point that you want to record.
    Hopefully this helps some.

  • About library L180 FSCs

    HI,all:
    who can share me about your FSC code.
    best regards

    Polska14,
    Could I get a copy of the L700 FSC Codes as well.
    My email address is:
    [email protected]
    Thanks,

  • How to make a simple polynomial calculating component

    Hi all,
    I am looking for a component which could calculate a polynomial formula like shown in the attached picture. I think I must make my own component but I don't know how to do that.
    Best,
    Antoine
    Attachments:
    component.jpg ‏23 KB

    In Multisim, you can use ABM components. "ABM_CURRENT" or "ABM_VOLTAGE" works in the form of current or voltage, respectively.

  • Firestore FSC problems with m2t and .mov files

    I am having a problem opening files from Firestore FSC. Both m2t and Qt .mov
    files will not open for me in FCE,iMovie or Qt with Quicktime MPEG2 reader
    installed. Anyone having this problem and is there a solution other than
    buying Final Cut Pro?
    Charles Dodd

    I am able to capture m2t and Quicktime.mov files from my FSC to FCE, but in
    real time which defeats one of the reasons I purchased my FSC. Also
    StreamClip will open the the m2t files, but not .mov files. I can't open the
    the m2t/.mov files in FCE from my desktop or from a folder. Sony Vegas Pro
    will open m2t files from a folder or desktop etc. I am very new at this, but
    this if what I have accomplished so far. Thanks
    Charles Dodd

  • Chebychev Polynomial fitting results show multi lines

    I am using "nonliear curve fit.vi" with defined Chebychev Polynomial  function to fit XY data.  Strangely, if I enlarge the upturn part, I clearly see the fitting results show multi-lines (2-4) . Please the the attached snapshot.
    weitong
    LV2013
    Attachments:
    chebychev Ploynomial fit.PNG ‏48 KB
    chebychev Ploynomial fit-whole.PNG ‏19 KB

    Thanks.
     I found the reason: the data X values are not mononicaly, i. e.  there are local oscillations at some region.
    After sorting the raw data, the fitting results show single line. 
    Is the sorting of X values necessary before Chebychev Polynomial fitting?

  • How to use General Polynomial Fit

    Hey,
    Very new to LabVIEW (mostly use Matlab) and I'm trying to use the General Polynomial Fit VI and I have found the built-in help for LabVIEW very lacking and the examples not much better. The help says that, among other things, the inputs are the x and y data points. I have my data in 1D arrays of double, but this is apparently the wrong format for the VI it states that the VI needs it in double. This would imply that it only takes one data point at at time? Do you have to build it up one point at a time in a loop?
    Thanks in advance for any help,
    dnorman

    Oops, nevermind. Accidentally selected the point by point variation...

  • "Residue" in General Polynomial Fit Function

    Do any of you statistics wonks understand how LabVIEW calculates the "residue" output in the "General Polynomial Fit" function?  How does it relate to the R^2 value on an Excel polynomial trendline.
    I've been trying to figure this out for hours, but the LV help files don't seem to have the info I am looking for, and I cannot find a good explanation on line.
    Thanks,
    FB
    Solved!
    Go to Solution.

    I figured it out.  I was looking at the TOTAL error of all elements, rather than the average error.

  • Using General Polynomial Fit VI with waveform graph

    Hello gurus ,
    I would like to ask how to use General Polynomial Fit VI with waveform graph not GraphXY .
    Waveform graph is giving me an array of values not X , Y i think , what should i do ?
    Thanks in advance
    Solved!
    Go to Solution.

    Hi Omar,
    i changed the shipped Labview Example to use the General Polynomial Fit VI with a waveform graph.
    But why don't you want to use a X-Y-Graph?
    Regards
    DianaS
    Attachments:
    test.vi ‏37 KB

  • General Polynomial Fit

    I need to fit a polynomial function and extract the coefficients a0, a1, etc, of my data. But in the General Polynomial Fit i have to especified the order, is there any way to find automatically the polynomial order and then extract the coefficients? Thank you.

    Thinking about this question again, I`m not sure I`ve answered the correct question at all.
    My original method (Scanning different fit orders) will give aou an N-order Polynomial which fits the signal well, but the assumption that your signal is then also an N-order Polynomial is generally false. If you are simply looking for a polynomial which well describes your signal, this is OK.
    If you are dealing with simple clean signals then you MIGHT be able to make assumptions on the signal type based on various fit coefficients, but if you`re trying to understand fundamentals of a real-world complex signal based on fit-algorithm errors, I would be, in addition to the other respondants, very cautious. I`m not a very good mathmatecian (I love that the fit algorith
    ms simply ), so I can`t begin to give a hint as to do this kind of analysis.
    Shane.
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Maybe you are looking for

  • How much RAM can i put in my MacBook Pro 13inch?8GB or 16GB?

    I want to upgrade the RAM in my MacBook Pro and wanted to know how much is possible technically. I read 16GB are possible but Apple says 8GB optional.What is right?16GB or 8GB

  • Lightroom 2.5 very slow

    After upgrade to 2.5, LR seems very sluggish. Below is the data from Help/System Info. Any suggestions? I'm not sure why Virtual Memory Used is so high. Is this a setting I need to change somewhere? Thanks for any suggestions. Lightroom version: 2.5

  • Loading Issue Urgent

    Hi all, I am loading the data from sourc to PSA in BI 7.' in monitor screen der is no change in the record number frm last few min. the record num is not changing inputs r welcomed. Regards KK

  • HT1766 itune has detected an iphone in recovery mode

    itune has detected an iphone in recovery mode, you must restore this iphone before it can be use with itune. Can someone help how can I resolve this without having to clear all my data in my iphone 4S?

  • Change PDF files that I receive to Word.

    All I want to do with Adobe is change PDF files that I receive to WORD. I want this to be a process explained in simple terms.