Questions and Answers

0 Dislike

Benlekhdim Ahmed

Error using interp1 at 184 There should at least two data points

Hello,

I used this input data:

0 0.0137686
0.01 0.0137668
0.02 0.013765
0.03 0.0137633
0.04 0.0137615
0.05 0.0137597
0.06 0.0137579
0.07 0.0137561
0.08 0.0137543
0.09 0.0137524
0.1 0.0137506
0.11 0.0137488
0.12 0.0137469
0.13 0.0137451
0.14 0.0137432
0.15 0.0137413
0.16 0.0137394
0.17 0.0137375
0.18 0.0137356
0.19 0.0137337
0.2 0.0137318
0.21 0.0137299
0.22 0.0137279
0.23 0.013726
0.24 0.013724
0.25 0.0137221
0.26 0.0137201
0.27 0.0137181
0.28 0.0137161
0.29 0.0137141
0.3 0.0137121
0.31 0.0137101
0.32 0.013708
0.33 0.013706
0.34 0.0137039
0.35 0.0137018
0.36 0.0136997
0.37 0.0136977
0.38 0.0136955
0.39 0.0136934
0.4 0.0136913
0.41 0.0136891
0.42 0.013687
0.43 0.0136848
0.44 0.0136826
0.45 0.0136804
0.46 0.0136782
0.47 0.013676
0.48 0.0136738
0.49 0.0136715
0.5 0.0136692
0.51 0.013667
0.52 0.0136647
0.53 0.0136623
0.54 0.01366
0.55 0.0136577
0.56 0.0136553
0.57 0.0136529
0.58 0.0136505
0.59 0.0136481
0.6 0.0136457
0.61 0.0136433
0.62 0.0136408
0.63 0.0136383
0.64 0.0136358
0.65 0.0136333
0.66 0.0136308
0.67 0.0136282
0.68 0.0136256
0.69 0.013623
0.7 0.0136204
0.71 0.0136178
0.72 0.0136151
0.73 0.0136124
0.74 0.0136097
0.75 0.013607
0.76 0.0136042
0.77 0.0136015
0.78 0.0135987
0.79 0.0135958
0.8 0.013593
0.81 0.0135901
0.82 0.0135872
0.83 0.0135843
0.84 0.0135813
0.85 0.0135784
0.86 0.0135754
0.87 0.0135723
0.88 0.0135692
0.89 0.0135661
0.9 0.013563
0.91 0.0135598
0.92 0.0135566
0.93 0.0135533
0.94 0.01355
0.95 0.0135466
0.96 0.0135431
0.97 0.0135396
0.98 0.0135358
0.99 0.013532
1 0.0135278
1.01 0.0135233
1.02 0.0135184
1.03 0.0135127
1.04 0.0135061
1.05 0.013498
1.06 0.0134879
1.07 0.0134747
1.08 0.0134571
1.09 0.0134331
1.1 0.0133997
1.11 0.0133524
1.12 0.0132848
1.13 0.0131877
1.14 0.013047
1.15 0.0128427
1.16 0.0125452
1.17 0.0121115
1.18 0.0114792
1.19 0.0105578
1.2 0.00921788
1.21 0.00727531
1.22 0.0044726
1.23 0

but i have this error message :

Error using interp1 at 184

There should at least two data points

Please helpe me

Thanks in advance

 

Report abuse

3 Responses

  1. 0 Dislike

    Sarah Clark

    Hi, did you ever figure this error out?  I'm having the same issue on an inconsistent basis.  I don't see any immediate difference among my data files that would explain why some work and others don't. Thanks.

    Reply Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    James Moore

    I was having the same problem occasionally and found it was happening for data sets where the current had saturated at high voltage. When I removed the data points above this voltage the problem went away.

    Reply Report abuse

    Please login to answer the question.

    1. 0 Dislike

      Deepak Ramesh

      hello J. Moore,

      I'm also facing the above problem, so according to which data should be removed in the above example to run the tool without error, (I will try to run the above data).

      Reply Report abuse

      Please login to answer the question.

  3. 0 Dislike

    Deepak Ramesh

    Hi Benlekhdim Ahmed

    did you get the answer for your query? if yes please share the answer. 

    thanks.

    Reply Report abuse

    Please login to answer the question.