scatteredInterpolant function missing?!?! HELP!

Ok, I have a giant code, but I know this section is not working for me.
scatteredInterpolant(x,y,PRESS)
All of these are matrices 13x1 (for testing purposes).
I am getting back this error and have tried finding the function path but function is not found I guess.
HELP!!!

 채택된 답변

Walter Roberson
Walter Roberson 2017년 1월 24일

0 개 추천

scatteredInterpolant requires R2013a or later. You are probably trying to use a release older than that. If so then see if you have TriScatteredInterp; if not then let us know which release you are using.

댓글 수: 1

Navier_Stroke
Navier_Stroke 2017년 1월 24일
Ohhh, that's probably it then. I'm using MATLAB_R2011b on my macbook. It my work on my desktop machine at the office then.... Thanks.

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

추가 답변 (1개)

KSSV
KSSV 2017년 1월 24일

0 개 추천

Try scatteredInterpolant([x y],PRESS)
x,y, PRESS should be column vectors of same length.

댓글 수: 2

Navier_Stroke
Navier_Stroke 2017년 1월 24일
Yes, they are the same length. But this does not work. I get the same error... that the scatteredInterpolant is an undefined function for input arguments of type double.
KSSV
KSSV 2017년 1월 24일
Then version problem..as Walter answered.

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

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

제품

질문:

2017년 1월 24일

댓글:

2017년 1월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by