Thread Subject: help with error?

Subject: help with error?

From: nordmoon

Date: 2 Sep, 2009 08:13:38

Message: 1 of 4

What does this mean?

??? Error using ==> interp1
The values of X should be distinct.

And what can I do to fix it?

Subject: help with error?

From: Aurelien Queffurust

Date: 2 Sep, 2009 08:46:03

Message: 2 of 4

nordmoon <arianadax@gmail.com> wrote in message <234390088.71909.1251879248463.JavaMail.root@gallium.mathforum.org>...
> What does this mean?
>
> ??? Error using ==> interp1
> The values of X should be distinct.
>
> And what can I do to fix it?

See this solution:
When I use INTERP1, why do I receive the error "The data abscissae should be distinct"?
http://www.mathworks.com/support/solutions/en/data/1-18SMB/?solution=1-18SMB

Subject: help with error?

From: curritage

Date: 17 Sep, 2009 14:12:19

Message: 3 of 4

<234390088.71909.1251879248463.JavaMail.root@gallium.mathforum.org>...
> What does this mean?
>
> ??? Error using ==> interp1
> The values of X should be distinct.
>
> And what can I do to fix it?

Subject: help with error?

From: dpb

Date: 17 Sep, 2009 14:48:15

Message: 4 of 4

curritage wrote:
> <234390088.71909.1251879248463.JavaMail.root@gallium.mathforum.org>...
>> What does this mean?
>>
>> ??? Error using ==> interp1
>> The values of X should be distinct.
>>
>> And what can I do to fix it?

remove any duplications in the independent vector (and associated
dependent as well, of course. Those _should_ be identical as well,
elset the interpolating function is/was discontinuous.)

--

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
interp1 Aurelien Queffurust 2 Sep, 2009 04:49:04
rssFeed for this Thread

Contact us at files@mathworks.com