Error using spline function???

조회 수: 6 (최근 30일)
sonu
sonu 2018년 4월 11일
댓글: KSSV 2018년 4월 11일
Hello,
Kindly help me to solve this issue,
I am having 3 columns of values
nroll = totally 6289 values are in nroll (the values in nroll like -0.56894 -17.89654....)
time = totally 369 values are in time(in form of serial date number)
ulink = totally 369 values are in ulink(ranges from 1 to 4)
xx = spline(time,ulink,nroll)
my error is
Error using ./
Integers can only be combined with Integers of same class ,or scalar doubles.
Error in spline (line 58)
dd = ones(yd,1);dy = diff(x);divdif = diff(y,[],2)./dx(dd,:1);
So how to associate these values , what I mean is how to get particular nroll value for ulink corresponding to time...
  댓글 수: 1
KSSV
KSSV 2018년 4월 11일
What is class of inputs?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Splines에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by