필터 지우기
필터 지우기

Error: Sample points must be unique and sorted in ascending order.

조회 수: 102 (최근 30일)
JAMMI ASHOK
JAMMI ASHOK 2020년 8월 24일
편집: Matt J 2020년 8월 24일
I have the following data. But when I am trying to interpolate it is giving
Error using matlab.internal.math.interp1
Sample points must be unique and sorted in ascending order.
Error in interp1 (line 154)
VqLite = matlab.internal.math.interp1(X,V,method,method,Xqcol)
Kindly help me out.
Thanks in advance.

채택된 답변

Matt J
Matt J 2020년 8월 24일
편집: Matt J 2020년 8월 24일
You can use unique() to get rid of duplicate sample points. It will also sort them.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by