Menu

Error: Singular matrix in Invert_RtR

2018-07-18
2018-07-19
  • Stefan Epple

    Stefan Epple - 2018-07-18

    Hello,
    can someone please help me. I get the following error:
    gnuplot> load '\test.plt'iter      chisq       delta/lim  lambda   t             d               0 2.7610594417e+11  0.00e+00 3.54e+03  1.700000e+03  5.000000e+03   1 4.1437314074e+10 -5.66e+05 3.54e+02  1.700000e+03  1.904871e+04   2 4.1437272540e+10 -1.00e-01 3.54e+01  1.700000e+03  1.905463e+04         "\test.plt", line 8: Singular matrix in Invert_RtR
    gnuplot> 

    I use the code below:

    resetg(x)= ((Cab)/((x5)((exp(Cb/(x*t))-1))))+dCa=0.000000000000000374177107000000b=0.0000006Cb=0.014387752t=1700d=5000fit g(x) 'test2.dat' using 1:2 via t,d
    set ylabel "y"set xlabel "x"set border lw 3
    set terminal windowsplot 'test2.dat' using 1:2 with points title "Messdaten", g(x) title "FIT"
    set terminal jpeg font arial 18 size 1024,768set output 'test2.jpeg'replot
    Thanks for your help

    Stefan

     
  • Hans-Bernhard Broeker

    The post is all but unreadable in plain text. Might you care re-issuing it, in suitable quote tags this time so the formatting doesn't squashed?

     
  • Stefan Epple

    Stefan Epple - 2018-07-19

    Of course, I hope so it is better

    I get the following error:

    gnuplot> load '\\test.plt'
    iter      chisq       delta/lim  lambda   t             d            
       0 2.7610594417e+11  0.00e+00 3.54e+03  1.700000e+03  5.000000e+03
       1 4.1437314074e+10 -5.66e+05 3.54e+02  1.700000e+03  1.904871e+04
       2 4.1437272540e+10 -1.00e-01 3.54e+01  1.700000e+03  1.905463e+04
             "\\test.plt", line 8: Singular matrix in Invert_RtR
    
    gnuplot> 
    

    I use the code below:

    reset
    g(x)= ((Ca*b)/((x**5)*((exp(Cb/(x*t))-1))))+d
    Ca=0.000000000000000374177107000000
    b=0.0000006
    Cb=0.014387752
    t=1700
    d=5000
    fit g(x) 'test2.dat' using 1:2 via t,d
    
    set ylabel "y"
    set xlabel "x"
    set border lw 3
    
    set terminal windows
    plot 'test2.dat' using 1:2 with points title "Messdaten", g(x) title "FIT"
    
    set terminal jpeg font arial 18 size 1024,768
    set output 'test2.jpeg'
    replot
    
     

    Last edit: Hans-Bernhard Broeker 2018-07-19
  • Hans-Bernhard Broeker

    {Fine-tuned the report a bit more]

    Sorry to be a pest, but without the data file, that's still quite irreproducable

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.