Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: error-The data sites should be distinct.
Replies: 2   Last Post: Oct 24, 2012 11:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 12
Registered: 9/15/12
error-The data sites should be distinct.
Posted: Oct 24, 2012 7:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

load x.txt
x = x';
% maximum envelope
for i=1:250:200000;
maxi=[maxi,c] % maximum value in a window
mapo=[mapo,d+(i-1)]; %position of maximum value in a window
yy =spline(mapo,maxi,1:200000);

I am getting an error- "The data sites should be distinct." for the spline command.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.